Esempio n. 1
0
 internal string GetInsertQuery(bool declareVariables = true)
 {
     return(MapFeatureCommandCreator.CreateCommandQuery(this, _configuration, false, declareVariables));
 }
Esempio n. 2
0
 /// <summary>
 /// Get an insert statement that, when exectued, will insert this object into SQL. Can be used
 /// when saving text files of SQL Commands, but should be careful as commands will not be parameterized.
 /// </summary>
 /// <returns>Insert Query</returns>
 public string GetInsertQuery()
 {
     return(MapFeatureCommandCreator.CreateCommandQuery(this, _configuration, false, true));
 }
Esempio n. 3
0
 /// <summary>
 /// Create a SqlCommand that, when executed, will insert this object into SQL.
 /// </summary>
 /// <returns>SqlCommand</returns>
 public SqlCommand GetInsertCommand()
 {
     return(MapFeatureCommandCreator.CreateCommand(this, _configuration));
 }