/// <summary> /// Copy field's content to the current field /// </summary> /// <param name="field">Source field to copy from</param> public override void Assign(FastDbBuffer field) { Debug.Assert(field is FastDbField, "Cannot assign " + field.GetType().Name + " type!"); base.Assign(field); this.RefTable = ((FastDbField)field).RefTable; this.InvRefField = ((FastDbField)field).InvRefField; }
/// <summary> /// Use Assign() method to copy the content of on FastDbBuffer to another. /// </summary> /// <param name="var">is the source FastDbBuffer to be copied from.</param> public unsafe virtual void Assign(FastDbBuffer var) { this.name = var.Name; this.Capacity = var.Capacity; this.bound_to_statement = var.StatementID; this.FetchData = var.FetchData; CopyBufferData(var.Type, var.Size, ((CLI.UnmanagedBuffer *)var.buffer.ToPointer())->data); }
protected override FastDbBuffer Add(FastDbBuffer param) { return this.Add(param.Name, param.Type, param.Capacity); }
public override void Assign(FastDbBuffer var) { Debug.Assert(var is FastDbParameter, "Cannot assign " + var.GetType().Name + " type!"); base.Assign(var); }
protected override FastDbBuffer Add(FastDbBuffer item) { return this.Add((FastDbField)item); }
protected abstract FastDbBuffer Add(FastDbBuffer item);
/// <summary> /// Use Assign() method to copy the content of on FastDbBuffer to another. /// </summary> /// <param name="var">is the source FastDbBuffer to be copied from.</param> public unsafe virtual void Assign(FastDbBuffer var) { this.name = var.Name; this.Capacity = var.Capacity; this.bound_to_statement = var.StatementID; this.FetchData = var.FetchData; CopyBufferData(var.Type, var.Size, ((CLI.UnmanagedBuffer*)var.buffer.ToPointer())->data); }
protected override FastDbBuffer Add(FastDbBuffer param) { return(this.Add(param.Name, param.Type, param.Capacity)); }
protected override FastDbBuffer Add(FastDbBuffer item) { return(this.Add((FastDbField)item)); }