Exemple #1
0
        /// <summary>
        /// Create a new TB_Role object.
        /// </summary>
        /// <param name="roleId">Initial value of the RoleId property.</param>
        public static TB_Role CreateTB_Role(global::System.Int32 roleId)
        {
            TB_Role tB_Role = new TB_Role();

            tB_Role.RoleId = roleId;
            return(tB_Role);
        }
Exemple #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TB_Role EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTB_Role(TB_Role tB_Role)
 {
     base.AddObject("TB_Role", tB_Role);
 }