GetUpdateValues() public method

public GetUpdateValues ( object instance ) : SqlArgument[]
instance object
return SqlArgument[]
コード例 #1
0
        public void GetUpdateValuesThrowsNotSupportedException()
        {
            var objectInfo = new TupleObjectInfo();

            var exception = Assert.Throws<NotSupportedException>(
                () => objectInfo.GetUpdateValues(Tuple.Create(1)));

            Assert.Equal(exception.Message, ExceptionMessages.TupleObjectInfo_NotSupportedReason);
        }