Appearance
TableInfoOptions Class
Definition
Configuration options when deriving a TableInfo instance from a CLR Type
- Namespace:
JASE.Database - Assembly:
JASE.Database.dll
Constructors
| Name | Description |
|---|---|
TableInfoOptions(ColumnDeclarationMode columnMode = null, bool ignoreDataAnnotations = null, bool includePrivateProperties = null, NamingStrategy namingStrategy = null, bool noCache = null) | Create an instance TableInfoOptions |
Fields
| Name | Description |
|---|---|
CacheKey | Cache key for TableInfoOptions signature |
Properties
| Name | Description |
|---|---|
ColumnMode | Determines how columns are defined when mapping a class to TableInfo. |
IgnoreDataAnnotations | When true, all Data Annotation attributes (e.g., RequiredAttribute, StringLengthAttribute) are ignored during column inference. |
IncludePrivateProperties | Indicates whether non-public (private/protected/internal) properties should be included in column mapping. |
NamingStrategy | Specifies the naming strategy to use when generating table and column names from class and property names. |
NoCache | Dp not leverage memory cache |
Methods
| Name | Description |
|---|---|
string ToJson() | Returns a JSON string representation of the instance |