Show / Hide Table of Contents

Class User

Inheritance
object
ModelBase
User
Implements
IUser
IModel
IAttributeObject
IKeyEquatable<IUser>
IEquatable<IUser>
IIdentifierObject
Inherited Members
ModelBase.ToString()
ModelBase.Id
ModelBase.IsExistingObject
ModelBase.IsNewObject
ModelBase.Status
ModelBase.Created
ModelBase.Updated
ModelBase.UpdateMode
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Client.Model
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class User : ModelBase, IUser, IModel, IAttributeObject, IKeyEquatable<IUser>, IEquatable<IUser>, IIdentifierObject

Constructors

User()

Declaration
public User()

User(User)

Declaration
public User(User copySource)
Parameters
Type Name Description
User copySource

Properties

Attributes

Declaration
[JsonPropertyOrder(106)]
public Dictionary<string, object> Attributes { get; set; }
Property Value
Type Description
Dictionary<string, object>

Culture

Declaration
[StringLength(128)]
[JsonPropertyOrder(104)]
public string Culture { get; set; }
Property Value
Type Description
string

FirstName

Declaration
[Required]
[StringLength(128)]
[JsonPropertyOrder(102)]
public string FirstName { get; set; }
Property Value
Type Description
string

Identifier

Declaration
[Required]
[StringLength(128)]
[JsonPropertyOrder(100)]
public string Identifier { get; set; }
Property Value
Type Description
string

LastName

Declaration
[Required]
[StringLength(128)]
[JsonPropertyOrder(103)]
public string LastName { get; set; }
Property Value
Type Description
string

Password

Declaration
[StringLength(128)]
[JsonPropertyOrder(101)]
public string Password { get; set; }
Property Value
Type Description
string

UserType

Declaration
[JsonPropertyOrder(105)]
public UserType UserType { get; set; }
Property Value
Type Description
UserType

Methods

EqualKey(IUser)

Declaration
public virtual bool EqualKey(IUser compare)
Parameters
Type Name Description
IUser compare
Returns
Type Description
bool

Equals(IUser)

Declaration
public virtual bool Equals(IUser compare)
Parameters
Type Name Description
IUser compare
Returns
Type Description
bool

GetUiString()

Declaration
public override string GetUiString()
Returns
Type Description
string
Overrides
ModelBase.GetUiString()

Implements

IUser
IModel
IAttributeObject
IKeyEquatable<T>
IEquatable<T>
IIdentifierObject

Extension Methods

ConsoleExtensions.WriteProperties(object, bool)
ValueTypeExtensions.GetValueType(object)
ObjectInfo.GetPropertyValue(object, string)
ObjectInfo.GetPropertyValue<T>(object, string, T)
ObjectInfo.ResolvePropertyValue(object, string)
ObjectInfo.SetPropertyValue(object, string, object)
☀
☾
Back to top Generated by DocFX