示例#1
0
 public void Table(string name)
 {
     TableName = Dialect.EscapeTable(name);
 }
示例#2
0
        public override string ToString()
        {
            var identifiresNames = Identifiers?.Select(x => x.Name).ToList();
            var propertiesNames  = Properties?.Select(x => x.Name).ToList();

            if (identifiresNames == null)
            {
                identifiresNames = new List <string>();
            }

            if (propertiesNames == null)
            {
                propertiesNames = new List <string>();
            }

            return($"Type: {Type?.Name},\r\nTable Name: {TableName},\r\n Dialect Table Name: {Dialect.EscapeTable(TableName)}, \r\nIdentifiers: {string.Join(",", (identifiresNames))}, \r\nProperties: {string.Join(",", propertiesNames)}");
        }