Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the RoleType EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRoleType(RoleType roleType)
 {
     base.AddObject("RoleType", roleType);
 }
Example #2
0
 /// <summary>
 /// Create a new RoleType object.
 /// </summary>
 /// <param name="roleTypeID">Initial value of the RoleTypeID property.</param>
 /// <param name="roleType1">Initial value of the RoleType1 property.</param>
 public static RoleType CreateRoleType(global::System.Int32 roleTypeID, global::System.String roleType1)
 {
     RoleType roleType = new RoleType();
     roleType.RoleTypeID = roleTypeID;
     roleType.RoleType1 = roleType1;
     return roleType;
 }