Exemplo n.º 1
0
 /// <summary>
 /// Create a new SecRole object.
 /// </summary>
 /// <param name="roleId">Initial value of the RoleId property.</param>
 /// <param name="roleName">Initial value of the RoleName property.</param>
 /// <param name="roleDescription">Initial value of the RoleDescription property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 /// <param name="createdOn">Initial value of the CreatedOn property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="updatedOn">Initial value of the UpdatedOn property.</param>
 /// <param name="updatedBy">Initial value of the UpdatedBy property.</param>
 public static SecRole CreateSecRole(global::System.Int32 roleId, global::System.String roleName, global::System.String roleDescription, global::System.Boolean status, global::System.DateTime createdOn, global::System.Int32 createdBy, global::System.DateTime updatedOn, global::System.Int32 updatedBy)
 {
     SecRole secRole = new SecRole();
     secRole.RoleId = roleId;
     secRole.RoleName = roleName;
     secRole.RoleDescription = roleDescription;
     secRole.Status = status;
     secRole.CreatedOn = createdOn;
     secRole.CreatedBy = createdBy;
     secRole.UpdatedOn = updatedOn;
     secRole.UpdatedBy = updatedBy;
     return secRole;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SecRoles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSecRoles(SecRole secRole)
 {
     base.AddObject("SecRoles", secRole);
 }