Beispiel #1
0
 private static void SetSqlInt16_Unchecked( SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, SqlInt16 value ) {
     if ( value.IsNull ) {
         setters.SetDBNull( sink, ordinal );
     }
     else {
         setters.SetInt16( sink, ordinal, value.Value ); 
     }
     sink.ProcessMessagesAndThrow();
 }
Beispiel #2
0
 private static void SetInt16_Unchecked( SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, Int16 value ) {
     setters.SetInt16( sink, ordinal, value ); 
     sink.ProcessMessagesAndThrow();
 }