/// <summary> /// Create a new VoucherTransfer object. /// </summary> /// <param name="vt_id">Initial value of the vt_id property.</param> /// <param name="vt_v_number">Initial value of the vt_v_number property.</param> /// <param name="vt_v_type_id">Initial value of the vt_v_type_id property.</param> /// <param name="vt_v_country_iso_id">Initial value of the vt_v_country_iso_id property.</param> /// <param name="vt_status_id">Initial value of the vt_status_id property.</param> /// <param name="vt_creation_date">Initial value of the vt_creation_date property.</param> /// <param name="vt_created_by">Initial value of the vt_created_by property.</param> /// <param name="vt_last_modification_date">Initial value of the vt_last_modification_date property.</param> /// <param name="vt_last_modified_by">Initial value of the vt_last_modified_by property.</param> public static VoucherTransfer CreateVoucherTransfer(global::System.Int64 vt_id, global::System.Int32 vt_v_number, global::System.Int32 vt_v_type_id, global::System.Int32 vt_v_country_iso_id, global::System.Int32 vt_status_id, global::System.DateTime vt_creation_date, global::System.String vt_created_by, global::System.DateTime vt_last_modification_date, global::System.String vt_last_modified_by) { VoucherTransfer voucherTransfer = new VoucherTransfer(); voucherTransfer.vt_id = vt_id; voucherTransfer.vt_v_number = vt_v_number; voucherTransfer.vt_v_type_id = vt_v_type_id; voucherTransfer.vt_v_country_iso_id = vt_v_country_iso_id; voucherTransfer.vt_status_id = vt_status_id; voucherTransfer.vt_creation_date = vt_creation_date; voucherTransfer.vt_created_by = vt_created_by; voucherTransfer.vt_last_modification_date = vt_last_modification_date; voucherTransfer.vt_last_modified_by = vt_last_modified_by; return(voucherTransfer); }
/// <summary> /// Deprecated Method for adding a new object to the VoucherTransfers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToVoucherTransfers(VoucherTransfer voucherTransfer) { base.AddObject("VoucherTransfers", voucherTransfer); }