コード例 #1
0
 static AS400PropertyBuilderAnnotations GetAS400InternalBuilder(PropertyBuilder propertyBuilder)
 => propertyBuilder.GetInfrastructure <InternalPropertyBuilder>().AS400(ConfigurationSource.Explicit);
コード例 #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);
コード例 #3
0
 public static PropertyBuilder <TProperty> UseAS400IdentityColumn <TProperty>(
     [NotNull] this PropertyBuilder <TProperty> propertyBuilder)
 => (PropertyBuilder <TProperty>)UseAS400IdentityColumn((PropertyBuilder)propertyBuilder);
コード例 #4
0
 public static PropertyBuilder <string> IsRequiredAndMaxLength(this PropertyBuilder <string> builder, EntityConst entConst)
 {
     builder.IsRequired(entConst.IsRequired);
     builder.HasMaxLength(entConst.MaxLength);
     return(builder);
 }