Esempio n. 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);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new RoleType object.
 /// </summary>
 /// <param name="roleTypeId">Initial value of the RoleTypeId property.</param>
 /// <param name="roleTypeName">Initial value of the RoleTypeName property.</param>
 /// <param name="fieldOrder">Initial value of the FieldOrder property.</param>
 /// <param name="dropOrder">Initial value of the DropOrder property.</param>
 public static RoleType CreateRoleType(global::System.Int32 roleTypeId, global::System.String roleTypeName, global::System.Boolean fieldOrder, global::System.Boolean dropOrder)
 {
     RoleType roleType = new RoleType();
     roleType.RoleTypeId = roleTypeId;
     roleType.RoleTypeName = roleTypeName;
     roleType.FieldOrder = fieldOrder;
     roleType.DropOrder = dropOrder;
     return roleType;
 }