/// <summary> /// Deprecated Method for adding a new object to the T_sys_role EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToT_sys_role(T_sys_role t_sys_role) { base.AddObject("T_sys_role", t_sys_role); }
/// <summary> /// Create a new T_sys_role object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="role_name">Initial value of the role_name property.</param> /// <param name="role_type">Initial value of the role_type property.</param> /// <param name="role_issys">Initial value of the role_issys property.</param> public static T_sys_role CreateT_sys_role(global::System.Int32 id, global::System.String role_name, global::System.Int32 role_type, global::System.Int32 role_issys) { T_sys_role t_sys_role = new T_sys_role(); t_sys_role.id = id; t_sys_role.role_name = role_name; t_sys_role.role_type = role_type; t_sys_role.role_issys = role_issys; return t_sys_role; }