Esempio n. 1
0
 static AS400PropertyBuilderAnnotations GetAS400InternalBuilder(PropertyBuilder propertyBuilder)
 => propertyBuilder.GetInfrastructure <InternalPropertyBuilder>().AS400(ConfigurationSource.Explicit);
Esempio n. 2
0
 public static PropertyBuilder <TProperty> ForAS400UseSequenceHiLo <TProperty>(
     [NotNull] this PropertyBuilder <TProperty> propertyBuilder,
     [CanBeNull] string name   = null,
     [CanBeNull] string schema = null)
 => (PropertyBuilder <TProperty>)ForAS400UseSequenceHiLo((PropertyBuilder)propertyBuilder, name, schema);
Esempio n. 3
0
 public static PropertyBuilder <TProperty> UseAS400IdentityColumn <TProperty>(
     [NotNull] this PropertyBuilder <TProperty> propertyBuilder)
 => (PropertyBuilder <TProperty>)UseAS400IdentityColumn((PropertyBuilder)propertyBuilder);
Esempio n. 4
0
 public static PropertyBuilder <string> IsRequiredAndMaxLength(this PropertyBuilder <string> builder, EntityConst entConst)
 {
     builder.IsRequired(entConst.IsRequired);
     builder.HasMaxLength(entConst.MaxLength);
     return(builder);
 }