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