Search Results for

    Show / Hide Table of Contents

    Enum MappingPriorityType

    映射优先级,默认: Attribute > FluentApi > Aop

    Namespace: FreeSql.Internal
    Assembly: FreeSql.dll
    Syntax
    public enum MappingPriorityType

    Fields

    Name Description
    Aop

    AOP 特性 https://github.com/dotnetcore/FreeSql/wiki/AOP

    fsql.Aop.ConfigEntity += (, e) => e.ModifyResult.Name = "public.tabname";

    fsql.Aop.ConfigEntityProperty += (, e) => e.ModifyResult.Name = "table_id";

    Attribute

    实体特性

    [Table(Name = "tabname")]

    [Column(Name = "table_id")]

    FluentApi

    流式接口

    fsql.CodeFirst.ConfigEntity(a => a.Name("tabname"))

    fsql.CodeFirst.ConfigEntity(a => a.Property(b => b.Id).Name("table_id"))

    Extension Methods

    FreeSqlGlobalExtensions.ToDescriptionOrString()
    FreeSqlGlobalExtensions.ToInt64()
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX