public string GetEntity <T>(string sqlCondition) { AssertUntil.AssertString(sqlCondition); string tableName = sqlUntil.GetTableName <T>(); StringBuilder sql = new StringBuilder(); sql.Append("SELECT * FROM ") .Append(tableName) .Append(" WHERE 1=1 ") .Append(sqlCondition); return(sql.ToString()); }
public TableName(string tableName) { AssertUntil.AssertString(tableName); this._TableName = tableName; }
public TableFiled(bool exits, String filedName) { AssertUntil.AssertString(filedName); this.FiledName = filedName; this.Exits = exits; }
public TableFiled(string filedName) { AssertUntil.AssertString(filedName); this.FiledName = filedName; }