override protected void SetStorage(object store, BitArray nullbits) {
     values = (SqlDateTime[]) store; 
     //SetNullStorage(nullbits);
 }        
 protected override void SetStorage(object store, BitArray nullbits)
 {
     this.values = (SqlDateTime[]) store;
 }
 override public void SetCapacity(int capacity) {
     SqlDateTime[] newValues = new SqlDateTime[capacity];
     if (null != values) {
         Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
     }
     values = newValues;
 }
 public override void SetCapacity(int capacity)
 {
     SqlDateTime[] destinationArray = new SqlDateTime[capacity];
     if (this.values != null)
     {
         Array.Copy(this.values, 0, destinationArray, 0, Math.Min(capacity, this.values.Length));
     }
     this.values = destinationArray;
 }