/// <summary> /// Create a new Gate object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="scheduledCompletion">Initial value of the ScheduledCompletion property.</param> /// <param name="projectId">Initial value of the ProjectId property.</param> /// <param name="definitionId">Initial value of the DefinitionId property.</param> public static Gate CreateGate(global::System.Int32 id, global::System.String name, global::System.DateTime scheduledCompletion, global::System.Int32 projectId, global::System.Int32 definitionId) { Gate gate = new Gate(); gate.Id = id; gate.Name = name; gate.ScheduledCompletion = scheduledCompletion; gate.ProjectId = projectId; gate.DefinitionId = definitionId; return gate; }
/// <summary> /// Deprecated Method for adding a new object to the Gates EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGates(Gate gate) { base.AddObject("Gates", gate); }