语言

SqliteStoreGenerationConvention 类

定义

一种约定,用于确保属性未配置为具有默认值(作为计算列或同时使用)。SqliteValueGenerationStrategy

[System.Runtime.CompilerServices.Nullable(0)]
public class SqliteStoreGenerationConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.StoreGenerationConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type SqliteStoreGenerationConvention = class
    inherit StoreGenerationConvention
Public Class SqliteStoreGenerationConvention
Inherits StoreGenerationConvention
继承
SqliteStoreGenerationConvention
特性

注解

有关详细信息和示例,请参阅使用 EF Core 构建模型约定和 访问 SQLite 数据库 。

适用于