public dshort_v Clone() { dshort_v o_v = new dshort_v(); o_v.v = this.v_; o_v.defined = this.defined; return o_v; }
public static dshort_v set_dshort(object p) { dshort_v x = null; if (p == null) return null; if (p is short) { x = new dshort_v((short)p); } else if (p.GetType() == typeof(ushort)) { x = new dshort_v((ushort)p); } else if (!(p is System.DBNull)) { tf.ShowTypeError(p.GetType().ToString(), x.GetType().ToString()); } return x; }
public static dshort_v Copy(dshort_v o_v) { if (o_v != null) { return o_v.Clone(); } else { return null; } }