Beispiel #1
0
 public string GetSql(DatabaseBase database)
 {
     if (database == null)
     {
         throw new NullReferenceException("database cannot be null or empty");
     }
     return(QueryBuilderFactory.GetTruncateQuery(database, this.mTable));
 }
Beispiel #2
0
 public string GetSql()
 {
     return(QueryBuilderFactory.GetTruncateQuery(DatabaseProvider.INSTANCE, this.mTable));
 }