/// <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);
 }
Exemple #3
0
 protected override FastDbBuffer Add(FastDbBuffer param)
 {
     return this.Add(param.Name, param.Type, param.Capacity);
 }
Exemple #4
0
 public override void Assign(FastDbBuffer var)
 {
     Debug.Assert(var is FastDbParameter, "Cannot assign " + var.GetType().Name + " type!");
       base.Assign(var);
 }
Exemple #5
0
 protected override FastDbBuffer Add(FastDbBuffer item)
 {
     return this.Add((FastDbField)item);
 }
Exemple #6
0
 /// <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;
 }
Exemple #7
0
 protected abstract FastDbBuffer Add(FastDbBuffer item);
Exemple #8
0
 /// <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));
 }
Exemple #10
0
 protected override FastDbBuffer Add(FastDbBuffer item)
 {
     return(this.Add((FastDbField)item));
 }
Exemple #11
0
 protected abstract FastDbBuffer Add(FastDbBuffer item);
Exemple #12
0
 public override void Assign(FastDbBuffer var)
 {
     Debug.Assert(var is FastDbParameter, "Cannot assign " + var.GetType().Name + " type!");
     base.Assign(var);
 }