示例#1
0
 internal static SqlBuffer[] CreateBufferArray(int length)
 {
     SqlBuffer[] buffers = new SqlBuffer[length];
     for (int i = 0; i < buffers.Length; ++i)
     {
         buffers[i] = new SqlBuffer();
     }
     return(buffers);
 }
示例#2
0
 internal static SqlBuffer[] CloneBufferArray(SqlBuffer[] values)
 {
     SqlBuffer[] copy = new SqlBuffer[values.Length];
     for (int i = 0; i < values.Length; i++)
     {
         copy[i] = new SqlBuffer(values[i]);
     }
     return(copy);
 }
示例#3
0
 private SqlBuffer(SqlBuffer value)
 { // Clone
     // value types
     _isNull = value._isNull;
     _type   = value._type;
     // ref types - should also be read only unless at some point we allow this data
     // to be mutable, then we will need to copy
     _value  = value._value;
     _object = value._object;
 }
示例#4
0
 internal SqlReturnValue() : base()
 {
     value = new SqlBuffer();
 }