예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the RoleTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRoleTypes(RoleType roleType)
 {
     base.AddObject("RoleTypes", roleType);
 }
예제 #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;
 }