/// <summary> /// Deprecated Method for adding a new object to the BranchClasses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBranchClasses(BranchClass branchClass) { base.AddObject("BranchClasses", branchClass); }
/// <summary> /// Create a new BranchClass object. /// </summary> /// <param name="classId">Initial value of the ClassId property.</param> /// <param name="className">Initial value of the ClassName property.</param> public static BranchClass CreateBranchClass(global::System.Int32 classId, global::System.String className) { BranchClass branchClass = new BranchClass(); branchClass.ClassId = classId; branchClass.ClassName = className; return branchClass; }