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