VisualBasicMigrationCodeGenerator.TranslateColumnType Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TranslateColumnType(PrimitiveTypeKind) |
Gets the type name to use for a column of the given data type. |
TranslateColumnType(PrimitiveTypeKind) |
Gets the type name to use for a column of the given data type. |
TranslateColumnType(PrimitiveTypeKind)
Gets the type name to use for a column of the given data type.
protected virtual string TranslateColumnType (System.Data.Entity.Core.Metadata.Edm.PrimitiveTypeKind primitiveTypeKind);
abstract member TranslateColumnType : System.Data.Entity.Core.Metadata.Edm.PrimitiveTypeKind -> string
override this.TranslateColumnType : System.Data.Entity.Core.Metadata.Edm.PrimitiveTypeKind -> string
Parameters
- primitiveTypeKind
- PrimitiveTypeKind
The data type to translate.
Returns
The type name to use in the generated migration.
Applies to
TranslateColumnType(PrimitiveTypeKind)
Gets the type name to use for a column of the given data type.
protected virtual string TranslateColumnType (System.Data.Metadata.Edm.PrimitiveTypeKind primitiveTypeKind);
abstract member TranslateColumnType : System.Data.Metadata.Edm.PrimitiveTypeKind -> string
override this.TranslateColumnType : System.Data.Metadata.Edm.PrimitiveTypeKind -> string
Parameters
- primitiveTypeKind
- PrimitiveTypeKind
The data type to translate.
Returns
The type name to use in the generated migration.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for