/// <summary> /// Deprecated Method for adding a new object to the ResourceAllocationChrons EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToResourceAllocationChrons(ResourceAllocationChron resourceAllocationChron) { base.AddObject("ResourceAllocationChrons", resourceAllocationChron); }
/// <summary> /// Create a new ResourceAllocationChron object. /// </summary> /// <param name="chronId">Initial value of the ChronId property.</param> /// <param name="lastExecutedOn">Initial value of the LastExecutedOn property.</param> public static ResourceAllocationChron CreateResourceAllocationChron(global::System.Int32 chronId, global::System.DateTime lastExecutedOn) { ResourceAllocationChron resourceAllocationChron = new ResourceAllocationChron(); resourceAllocationChron.ChronId = chronId; resourceAllocationChron.LastExecutedOn = lastExecutedOn; return resourceAllocationChron; }