public bool ShouldSkip(SchemaAndTableName tableName)
        {
            var item = GetPatternMatching(tableName);

            return(item?.ShouldSkipIfMatch == true);
        }
        public string Category(SchemaAndTableName tableName)
        {
            var item = GetPatternMatching(tableName);

            return(item?.CategoryIfMatch);
        }
        public string BackGroundColor(SchemaAndTableName tableName)
        {
            var item = GetPatternMatching(tableName);

            return(item?.BackGroundColorIfMatch);
        }
Example #4
0
 public ForeignKeyRegistrationToTableWithUniqueKey(SqlTable table, SchemaAndTableName referredTableName, bool isNullable, string namePrefix, string fkName)
     : base(table, referredTableName, isNullable, fkName)
 {
     NamePrefix = namePrefix;
 }
 public void SetTableSchemaAndTableName(SchemaAndTableName schemaAndTableName)
 {
     _schemaAndTableName = schemaAndTableName;
 }
 public TableSingularNameConvention(SchemaAndTableName schemaAndTableName)
 {
     _schemaAndTableName = schemaAndTableName;
 }