Namespace FreeSql.DataAnnotations
Classes
ColumnAttribute
ColumnFluent
ExpressionCallAttribute
自定义表达式函数解析
注意:请使用静态方法、或者在类上标记
ExpressionCallContext
IndexAttribute
索引设置,如:[Index("{tablename}_idx_01", "name")]
NavigateAttribute
OneToOne:[Navigate(nameof(Primary))] <-> (缺省)外表.Primary
ManyToOne:Topic.cs 文件 [Navigate(nameof(Topic.CategoryId))] <-> (缺省)Category.Id
_________________public Category Category { get; set; }
OneToMany:Category.cs 文件 (缺省)Category.Id <-> [Navigate(nameof(Topic.CategoryId))]
_________________public List<Topic> Topics { get; set; }
OraclePrimaryKeyNameAttribute
RawValueAttribute
自定义表达式函数解析的时候,指定参数不解析 SQL,而是直接传进来
TableAttribute
TableFluent
TableFluent<T>
Interfaces
ExpressionCallContext.IUtility
IAsTable
Enums
IndexMethod
暂时只有 FreeSql.Provider.PostgreSQL 有效