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