/// <summary> /// Deprecated Method for adding a new object to the tbl_MRoles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotbl_MRoles(tbl_MRoles tbl_MRoles) { base.AddObject("tbl_MRoles", tbl_MRoles); }
/// <summary> /// Create a new tbl_MRoles object. /// </summary> /// <param name="roleId">Initial value of the RoleId property.</param> /// <param name="roleName">Initial value of the RoleName property.</param> public static tbl_MRoles Createtbl_MRoles(global::System.Int32 roleId, global::System.String roleName) { tbl_MRoles tbl_MRoles = new tbl_MRoles(); tbl_MRoles.RoleId = roleId; tbl_MRoles.RoleName = roleName; return tbl_MRoles; }