/// <summary> /// Create a new Ord_Tour object. /// </summary> /// <param name="tourID">Initial value of the TourID property.</param> /// <param name="resourceID">Initial value of the ResourceID property.</param> /// <param name="useDate">Initial value of the UseDate property.</param> /// <param name="quantity">Initial value of the Quantity property.</param> /// <param name="tourStatus">Initial value of the TourStatus property.</param> /// <param name="operationNote">Initial value of the OperationNote property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="createTime">Initial value of the CreateTime property.</param> /// <param name="modifyTime">Initial value of the ModifyTime property.</param> /// <param name="providerID">Initial value of the ProviderID property.</param> /// <param name="resourceName">Initial value of the ResourceName property.</param> public static Ord_Tour CreateOrd_Tour(global::System.Int32 tourID, global::System.Int32 resourceID, global::System.DateTime useDate, global::System.Int32 quantity, global::System.Int32 tourStatus, global::System.String operationNote, global::System.String createdBy, global::System.DateTime createTime, global::System.DateTime modifyTime, global::System.Int32 providerID, global::System.String resourceName) { Ord_Tour ord_Tour = new Ord_Tour(); ord_Tour.TourID = tourID; ord_Tour.ResourceID = resourceID; ord_Tour.UseDate = useDate; ord_Tour.Quantity = quantity; ord_Tour.TourStatus = tourStatus; ord_Tour.OperationNote = operationNote; ord_Tour.CreatedBy = createdBy; ord_Tour.CreateTime = createTime; ord_Tour.ModifyTime = modifyTime; ord_Tour.ProviderID = providerID; ord_Tour.ResourceName = resourceName; return ord_Tour; }
/// <summary> /// Deprecated Method for adding a new object to the Ord_Tour EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrd_Tour(Ord_Tour ord_Tour) { base.AddObject("Ord_Tour", ord_Tour); }