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