trunk/src/LythumOSL.Core/Data/Database.cs
/// <summary>
/// Crafts insert query with cleanup, without checking DataRow::RowState
/// </summary>
/// <param name="info">Database metadata information</param>
/// <param name="r">DataRow with data</param>
/// <param name="fieldInfo">Fields which need to update</param>
/// <param name="tableName">DB table name</param>
/// <returns>sql query</returns>		
Crafts insert query with cleanup, without checking DataRow::RowState
Crafts insert query with cleanup without checking DataRow :: RowState
public static string CraftInsertQuery (
			DatabasesInfo info,
			DataRow r,
			DbFieldInfo[] fieldInfo,
			string tableName)
		{
			return CraftInsertQuery (
				info, r, fieldInfo, tableName, true);
		}
public static string CraftInsertQuery ( DatabasesInfo info , DataRow r , DbFieldInfo [ ] fieldInfo , string tableName ) { return CraftInsertQuery ( info , r , fieldInfo , tableName , true ) ; }
Crafts insert query with cleanup, without checking DataRow::RowState
Crafts insert query with cleanup without checking DataRow :: RowState
None
info
DatabasesInfo
Database metadata information
Database metadata information
r
DataRow
DataRow with data
DataRow with data
fieldInfo
DbFieldInfo[]
Fields which need to update
Fields which need to update
tableName
string
DB table name
DB table name