Example #1
0
 /// <summary>
 /// Create a new SystemRole object.
 /// </summary>
 /// <param name="systemRoleID">Initial value of the SystemRoleID property.</param>
 /// <param name="code">Initial value of the Code property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static SystemRole CreateSystemRole(global::System.Int32 systemRoleID, global::System.String code, global::System.String name)
 {
     SystemRole systemRole = new SystemRole();
     systemRole.SystemRoleID = systemRoleID;
     systemRole.Code = code;
     systemRole.Name = name;
     return systemRole;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SystemRoles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSystemRoles(SystemRole systemRole)
 {
     base.AddObject("SystemRoles", systemRole);
 }