public virtual string GetIndexName(ObjectName tableName) { int maxLength = MaxNameLength(); return(StringHashEncoder.ChopHash("IX_{0}_{1}".FormatWith(tableName.Name, ColumnSignature()), maxLength) + WhereSignature()); }
public override string GetIndexName(ObjectName tableName) { var maxSize = MaxNameLength(); return(StringHashEncoder.ChopHash("UIX_{0}_{1}".FormatWith(tableName.Name, ColumnSignature()), maxSize) + WhereSignature()); }