/// <summary> /// Deprecated Method for adding a new object to the tbllocationtocontact EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotbllocationtocontact(tbllocationtocontact tbllocationtocontact) { base.AddObject("tbllocationtocontact", tbllocationtocontact); }
/// <summary> /// Create a new tbllocationtocontact object. /// </summary> /// <param name="idlocationtocontact">Initial value of the idlocationtocontact property.</param> /// <param name="idlocation">Initial value of the idlocation property.</param> /// <param name="idcontact">Initial value of the idcontact property.</param> public static tbllocationtocontact Createtbllocationtocontact(global::System.Int32 idlocationtocontact, global::System.Int32 idlocation, global::System.Int32 idcontact) { tbllocationtocontact tbllocationtocontact = new tbllocationtocontact(); tbllocationtocontact.idlocationtocontact = idlocationtocontact; tbllocationtocontact.idlocation = idlocation; tbllocationtocontact.idcontact = idcontact; return tbllocationtocontact; }