Class PropertyBuilderStringExtensions
Inheritance
System.Object
PropertyBuilderStringExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: JK.Common.EntityFrameworkCore.SqlServer.Extensions
Assembly: JK.Common.EntityFrameworkCore.SqlServer.dll
Syntax
public static class PropertyBuilderStringExtensions
Methods
| Improve this Doc View SourceHasColumnTypeNvarchar(PropertyBuilder<String>)
Declaration
public static PropertyBuilder<string> HasColumnTypeNvarchar(this PropertyBuilder<string> propertyBuilder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.String> | propertyBuilder |
Returns
Type | Description |
---|---|
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.String> |
HasColumnTypeNvarchar(PropertyBuilder<String>, Int32)
Declaration
public static PropertyBuilder<string> HasColumnTypeNvarchar(this PropertyBuilder<string> propertyBuilder, int length)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.String> | propertyBuilder | |
System.Int32 | length |
Returns
Type | Description |
---|---|
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.String> |
HasColumnTypeVarchar(PropertyBuilder<String>)
Declaration
public static PropertyBuilder<string> HasColumnTypeVarchar(this PropertyBuilder<string> propertyBuilder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.String> | propertyBuilder |
Returns
Type | Description |
---|---|
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.String> |
HasColumnTypeVarchar(PropertyBuilder<String>, Int32)
Declaration
public static PropertyBuilder<string> HasColumnTypeVarchar(this PropertyBuilder<string> propertyBuilder, int length)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.String> | propertyBuilder | |
System.Int32 | length |
Returns
Type | Description |
---|---|
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.String> |