Пример #1
0
 private static string GetSequenceName(string tableName)
 {
     return(ObjectNameHelper.GetObjectName(tableName, "SEQ", MaximumDbObjectNameLength, tableName.GetHashCode().ToString(CultureInfo.InvariantCulture)));
 }
 protected static string GetDefaultConstraintName(string tableName, string columnName)
 {
     return(ObjectNameHelper.GetObjectName(tableName, "DF", MaximumDbObjectNameLength, columnName));
 }