Search Results for

    Show / Hide Table of Contents

    Class DbTableInfo

    Inheritance
    System.Object
    DbTableInfo
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: FreeSql.DatabaseModel
    Assembly: FreeSql.dll
    Syntax
    public class DbTableInfo

    Properties

    | Improve this Doc View Source

    Columns

    列

    Declaration
    public List<DbColumnInfo> Columns { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<DbColumnInfo>
    | Improve this Doc View Source

    Comment

    表备注,SqlServer下是扩展属性 MS_Description

    Declaration
    public string Comment { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Foreigns

    Declaration
    public List<DbForeignInfo> Foreigns { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<DbForeignInfo>
    | Improve this Doc View Source

    ForeignsDict

    外键

    Declaration
    public Dictionary<string, DbForeignInfo> ForeignsDict { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, DbForeignInfo>
    | Improve this Doc View Source

    Id

    唯一标识

    Declaration
    public string Id { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Identitys

    自增列

    Declaration
    public List<DbColumnInfo> Identitys { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<DbColumnInfo>
    | Improve this Doc View Source

    Indexes

    Declaration
    public List<DbIndexInfo> Indexes { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<DbIndexInfo>
    | Improve this Doc View Source

    IndexesDict

    索引/组合

    Declaration
    public Dictionary<string, DbIndexInfo> IndexesDict { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, DbIndexInfo>
    | Improve this Doc View Source

    Name

    表名

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Primarys

    主键/组合

    Declaration
    public List<DbColumnInfo> Primarys { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<DbColumnInfo>
    | Improve this Doc View Source

    Schema

    SqlServer下是Owner、PostgreSQL下是Schema、MySql下是数据库名

    Declaration
    public string Schema { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Type

    表/视图

    Declaration
    public DbTableType Type { get; set; }
    Property Value
    Type Description
    DbTableType
    | Improve this Doc View Source

    Uniques

    Declaration
    public List<DbIndexInfo> Uniques { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<DbIndexInfo>
    | Improve this Doc View Source

    UniquesDict

    唯一键/组合

    Declaration
    public Dictionary<string, DbIndexInfo> UniquesDict { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, DbIndexInfo>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX