/// <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); }
/// <summary> /// Create a new Gate object. /// </summary> /// <param name="type">Initial value of the Type property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="id">Initial value of the Id property.</param> /// <param name="tid">Initial value of the Tid property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="modifiedBy">Initial value of the ModifiedBy property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="modified">Initial value of the Modified property.</param> public static Gate CreateGate(global::System.String type, global::System.String status, global::System.Int64 id, global::System.String tid, global::System.String createdBy, global::System.String modifiedBy, global::System.DateTimeOffset created, global::System.DateTimeOffset modified) { Gate gate = new Gate(); gate.Type = type; gate.Status = status; gate.Id = id; gate.Tid = tid; gate.CreatedBy = createdBy; gate.ModifiedBy = modifiedBy; gate.Created = created; gate.Modified = modified; return gate; }