/// <summary> /// Create a new TransferType object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="active">Initial value of the Active property.</param> public static TransferType CreateTransferType(global::System.Int32 id, global::System.String name, global::System.Boolean active) { TransferType transferType = new TransferType(); transferType.ID = id; transferType.Name = name; transferType.Active = active; return transferType; }
/// <summary> /// Deprecated Method for adding a new object to the TransferTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTransferTypes(TransferType transferType) { base.AddObject("TransferTypes", transferType); }