/// <summary> /// Create a new EntityPrivilegy object. /// </summary> /// <param name="privilegyID">Initial value of the PrivilegyID property.</param> /// <param name="title">Initial value of the Title property.</param> public static EntityPrivilegy CreateEntityPrivilegy(global::System.Int16 privilegyID, global::System.String title) { EntityPrivilegy entityPrivilegy = new EntityPrivilegy(); entityPrivilegy.PrivilegyID = privilegyID; entityPrivilegy.Title = title; return entityPrivilegy; }
/// <summary> /// Deprecated Method for adding a new object to the Privilegy EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPrivilegy(EntityPrivilegy entityPrivilegy) { base.AddObject("Privilegy", entityPrivilegy); }