public void Apply(IClassInstance instance)
		{
			string tableName = NameConventions.GetTableName(instance.EntityType);

			instance.Table(tableName);
			instance.BatchSize(25);
		}
Пример #2
0
        public void Apply(IClassInstance instance)
        {
            var tableName = NameConventions.Quote(NameConventions.GetTableName(instance.EntityType));

            instance.Table(tableName);
            instance.BatchSize(25);
        }
Пример #3
0
 public void Apply(IClassInstance instance)
 {
     instance.BatchSize(10);
 }
Пример #4
0
 public void Apply(IClassInstance instance)
 {
     instance.Table(instance.EntityType.Name.ToPlural());
     instance.BatchSize(250);
 }
        /// <inheritdoc />
        public void Apply([NotNull] IClassInstance instance)
        {
            Fail.IfArgumentNull(instance, nameof(instance));

            instance.BatchSize(this.BatchSize);
        }
 public void Apply(IClassInstance instance)
 {
     var tableName = instance.EntityType.Name.ToPlural();
     instance.Table(NameConventions.ReplaceCamelCaseWithUnderscore(tableName));
     instance.BatchSize(250);
 }