internal static SqlResult GetUpdateQuery(DoBase aDoBase, object ChangedValues)
 {
     return(QueryAdapter.GetSql(aDoBase.GetTableName()).AsUpdate(ChangedValues).Compile());
 }
 internal static SqlResult GetOpenQuery(DoBase aDoBase)
 {
     return(QueryAdapter.GetSql(aDoBase.GetTableName()).Where(aDoBase.GetPrimaryKey(), aDoBase.GetPrimaryKeyValue()).Compile());
 }
 internal static SqlResult GetInsertQuery(DoBase aDoBase)
 {
     return(QueryAdapter.GetSql(aDoBase.GetTableName()).AsInsert(aDoBase, returnId: true).Compile());
 }