Example #1
0
 private static void SetSqlInt32_Unchecked( SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, SqlInt32 value ) {
     if ( value.IsNull ) {
         setters.SetDBNull( sink, ordinal );
     }
     else {
         setters.SetInt32( sink, ordinal, value.Value ); 
     }
     sink.ProcessMessagesAndThrow();
 }
Example #2
0
 private static void SetInt32_Unchecked( SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, Int32 value ) {
     setters.SetInt32( sink, ordinal, value ); 
     sink.ProcessMessagesAndThrow();
 }