internal string GetInsertQuery(bool declareVariables = true) { return(MapFeatureCommandCreator.CreateCommandQuery(this, _configuration, false, declareVariables)); }
/// <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)); }
/// <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)); }