SqlitePropertyBuilderExtensions.ForSqliteHasColumnName 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
ForSqliteHasColumnName(PropertyBuilder, String) |
Configures the column that the property maps to when targeting SQLite. |
ForSqliteHasColumnName<TProperty>(PropertyBuilder<TProperty>, String) |
Configures the column that the property maps to when targeting SQLite. |
ForSqliteHasColumnName(PropertyBuilder, String)
Configures the column that the property maps to when targeting SQLite.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder ForSqliteHasColumnName (this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder propertyBuilder, string name);
static member ForSqliteHasColumnName : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
<Extension()>
Public Function ForSqliteHasColumnName (propertyBuilder As PropertyBuilder, name As String) As PropertyBuilder
Parameters
- propertyBuilder
- PropertyBuilder
The builder for the property being configured.
- name
- String
The name of the column.
Returns
The same builder instance so that multiple calls can be chained.
Applies to
ForSqliteHasColumnName<TProperty>(PropertyBuilder<TProperty>, String)
Configures the column that the property maps to when targeting SQLite.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> ForSqliteHasColumnName<TProperty> (this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> propertyBuilder, string name);
static member ForSqliteHasColumnName : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property> * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property>
<Extension()>
Public Function ForSqliteHasColumnName(Of TProperty) (propertyBuilder As PropertyBuilder(Of TProperty), name As String) As PropertyBuilder(Of TProperty)
Type Parameters
- TProperty
The type of the property being configured.
Parameters
- propertyBuilder
- PropertyBuilder<TProperty>
The builder for the property being configured.
- name
- String
The name of the column.
Returns
The same builder instance so that multiple calls can be chained.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för