/// <summary> /// Deprecated Method for adding a new object to the Rights EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRights(Rights rights) { base.AddObject("Rights", rights); }
/// <summary> /// Create a new Rights object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="code">Initial value of the Code property.</param> public static Rights CreateRights(global::System.Int32 id, global::System.String name, global::System.String code) { Rights rights = new Rights(); rights.Id = id; rights.Name = name; rights.Code = code; return rights; }