![]() ![]() ![]() Note: Do not use with an unbounded (no maximum length specified) string property as this will create a LOB column. Indicates the column should be used for optimistic concurrency checking. Indicates the property is not mapped to a database column. Specifies the maximum length of the property. Table 4-26 Mapping of Data Annotations and the Code First Fluent APIs Data Annotation Set Column Type to UROWID using HasColumnType() fluent API or Column data annotation Set Column Type to ROWID using HasColumnType() fluent API or Column data annotation Note: The long data type is deprecated and not recommended. ![]() Set Column Type to LONG using HasColumnType() fluent API or Column data annotation Set Max Length to <= 2000 using HasMaxLength() fluent API or MaxLength annotation and Set Column Type to CHAR using HasColumnType() fluent API or Column data annotation Set Max Length to <= 1000 using HasMaxLength() fluent API or MaxLength annotation and Set Column Type to NCHAR using HasColumnType() fluent API or Column data annotation Set Max Length to <= 4000 using HasMaxLength() fluent API or MaxLength data annotation and set Unicode to false using IsUnicode() fluent API Set Max Length to <= 2000 using HasMaxLength() fluent API or MaxLength data annotation Set Unicode to false using IsUnicode() fluent API Reference the EDM Mapping sections in the documentation for additional information. Note: The default mapping of integer types may be specified in the EDM Mapping configuration. Note: The default mapping of Boolean/Byte types may be specified in the EDM Mapping configuration. Note: The default mapping of Boolean/ Byte types may be specified in the EDM Mapping configuration. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |