123 {
124 get
125 {
127 {
129 }
130 return false;
131 }
132 set
133 {
134 DataCommonEventSource.Log.Trace(
"<ds.DataColumn.set_AutoIncrement|API> {0}, {1}",
ObjectID,
value);
136 {
137 return;
138 }
140 {
142 {
143 throw ExceptionBuilder.AutoIncrementAndExpression();
144 }
146 {
147 throw ExceptionBuilder.AutoIncrementAndDefaultValue();
148 }
150 {
152 {
153 throw ExceptionBuilder.AutoIncrementCannotSetIfHasData(
DataType.
Name);
154 }
156 }
157 }
159 }
160 }
AutoIncrementValue _autoInc
static bool IsAutoIncrementType(Type dataType)
DataExpression _expression