private UpdateFromNativeRetrievecolumn ( |
||
native | /// The structure containing the updated output fields. /// | |
return | void |
public void VerifyUpdateFromNativeRetrievecolumnSetsCbactual() { var setcolumn = new JET_RETRIEVECOLUMN(); var native = new NATIVE_RETRIEVECOLUMN { cbActual = 0x100 }; setcolumn.UpdateFromNativeRetrievecolumn(native); Assert.AreEqual(0x100, setcolumn.cbActual); }
public void VerifyUpdateFromNativeRetrievecolumnSetsColumnidNextTagged() { var setcolumn = new JET_RETRIEVECOLUMN(); var native = new NATIVE_RETRIEVECOLUMN { columnidNextTagged = 0x20 }; setcolumn.UpdateFromNativeRetrievecolumn(native); var expected = new JET_COLUMNID { Value = 0x20 }; Assert.AreEqual(expected, setcolumn.columnidNextTagged); }
public void VerifyUpdateFromNativeRetrievecolumnSetsErr() { var setcolumn = new JET_RETRIEVECOLUMN(); var native = new NATIVE_RETRIEVECOLUMN { err = 1004 }; setcolumn.UpdateFromNativeRetrievecolumn(native); Assert.AreEqual(JET_wrn.ColumnNull, setcolumn.err); }
public void VerifyUpdateFromNativeRetrievecolumnSetsItagSequence() { var setcolumn = new JET_RETRIEVECOLUMN(); var native = new NATIVE_RETRIEVECOLUMN { itagSequence = 7 }; setcolumn.UpdateFromNativeRetrievecolumn(ref native); Assert.AreEqual(7, setcolumn.itagSequence); }