Пример #1
0
        public void Apply(IJoinedSubclassInstance instance)
        {
            string tableName = NameConventions.GetTableName(instance.EntityType);

            instance.Table(tableName);
            instance.BatchSize(25);
        }
Пример #2
0
 private static string GetTableName(Type entityType, Type otherSideType)
 {
     return(NameConventions.GetTableName(entityType) + "_" + NameConventions.GetTableName(otherSideType));
 }