System.Data.SqlClient.SqlCommandBuilder.IncludedInUpdate C# (CSharp) Method

IncludedInUpdate() private method

private IncludedInUpdate ( DataRow schemaRow ) : bool
schemaRow System.Data.DataRow
return bool
		private bool IncludedInUpdate (DataRow schemaRow)
		{
			// If the parameter has one of these properties, then we don't include it in the insert:
			// AutoIncrement, Hidden, RowVersion

			if ((bool) schemaRow ["IsAutoIncrement"])
				return false;
			if ((bool) schemaRow ["IsHidden"])
				return false;
			if ((bool) schemaRow ["IsRowVersion"])
				return false;
			return true;
		}