/// <summary> /// Create a new Lab object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="dateIssued">Initial value of the DateIssued property.</param> /// <param name="luckyNumber">Initial value of the LuckyNumber property.</param> /// <param name="person_Lab">Initial value of the Person_Lab property.</param> public static Lab CreateLab(global::System.Int32 id, global::System.DateTime dateIssued, global::System.Int32 luckyNumber, global::System.Int32 person_Lab) { Lab lab = new Lab(); lab.Id = id; lab.DateIssued = dateIssued; lab.LuckyNumber = luckyNumber; lab.Person_Lab = person_Lab; return(lab); }
/// <summary> /// Create a new Lab object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="dateIssued">Initial value of the DateIssued property.</param> /// <param name="luckyNumber">Initial value of the LuckyNumber property.</param> /// <param name="person_Lab">Initial value of the Person_Lab property.</param> public static Lab CreateLab(global::System.Int32 id, global::System.DateTime dateIssued, global::System.Int32 luckyNumber, global::System.Int32 person_Lab) { Lab lab = new Lab(); lab.Id = id; lab.DateIssued = dateIssued; lab.LuckyNumber = luckyNumber; lab.Person_Lab = person_Lab; return lab; }
/// <summary> /// Deprecated Method for adding a new object to the Labs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLabs(Lab lab) { base.AddObject("Labs", lab); }