/// <summary> /// Create a new AuthorityVerification object. /// </summary> /// <param name="email">Initial value of the Email property.</param> /// <param name="createdByUserId">Initial value of the CreatedByUserId property.</param> /// <param name="roleId">Initial value of the RoleId property.</param> /// <param name="token">Initial value of the Token property.</param> /// <param name="verified">Initial value of the Verified property.</param> /// <param name="dateTimeStamp">Initial value of the DateTimeStamp property.</param> /// <param name="userPositionId">Initial value of the UserPositionId property.</param> public static AuthorityVerification CreateAuthorityVerification(global::System.String email, global::System.Int32 createdByUserId, global::System.Int32 roleId, global::System.String token, global::System.Boolean verified, global::System.DateTime dateTimeStamp, global::System.String userPositionId) { AuthorityVerification authorityVerification = new AuthorityVerification(); authorityVerification.Email = email; authorityVerification.CreatedByUserId = createdByUserId; authorityVerification.RoleId = roleId; authorityVerification.Token = token; authorityVerification.Verified = verified; authorityVerification.DateTimeStamp = dateTimeStamp; authorityVerification.UserPositionId = userPositionId; return authorityVerification; }
/// <summary> /// Deprecated Method for adding a new object to the AuthorityVerifications EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAuthorityVerifications(AuthorityVerification authorityVerification) { base.AddObject("AuthorityVerifications", authorityVerification); }