Show / Hide Table of Contents

Class User

Class to represent the User in the model

Inheritance
System.Object
ModelEntity<TObject><User>
User
Inherited Members
ModelEntity<TObject>.Get(Int32)
ModelEntity<TObject>.Get(Expression<Func<TObject, Boolean>>, Expression<Func<TObject, Object>>[])
ModelEntity<TObject>.GetAsync(Int32)
ModelEntity<TObject>.GetAll()
ModelEntity<TObject>.GetAllAsync()
ModelEntity<TObject>.Find(Expression<Func<TObject, Boolean>>)
ModelEntity<TObject>.FindAsync(Expression<Func<TObject, Boolean>>)
ModelEntity<TObject>.FindAll(Expression<Func<TObject, Boolean>>)
ModelEntity<TObject>.FindAllAsync(Expression<Func<TObject, Boolean>>)
ModelEntity<TObject>.Save(TObject)
ModelEntity<TObject>.SaveAsync(TObject)
ModelEntity<TObject>.SavedAll(IEnumerable<TObject>)
ModelEntity<TObject>.SaveAllAsync(IEnumerable<TObject>)
ModelEntity<TObject>.Delete(TObject)
ModelEntity<TObject>.DeleteAsync(TObject)
ModelEntity<TObject>.Count()
ModelEntity<TObject>.CountAsync()
ModelEntity<TObject>.Save()
ModelEntity<TObject>.Dispose()
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:UM4RS.User
Assembly:UM4RS.dll
Syntax
[Table("User")]
public class User : ModelEntity<User>, IDisposable, IBaseEntity

Properties

Contact

Represent the Contact information of the User

Declaration
[NonExportable]
public virtual Contact Contact { get; set; }
Property Value
Type Description
Contact

Demographic

Represent the Demographic aspects of the User

Declaration
[Exportable]
public virtual Demographic Demographic { get; set; }
Property Value
Type Description
Demographic

Emotions

List of the EmotionalState of the User

Declaration
[Exportable]
public virtual ICollection<EmotionalState> Emotions { get; set; }
Property Value
Type Description
System.Collections.Generic.ICollection<T><EmotionalState>

Id

Id (unique) to use as key in the DataBase

Declaration
[DatabaseGenerated(DatabaseGeneratedOption.None)]
[Exportable(GlobalOrder = 0, Name = "userID")]
public int Id { get; set; }
Property Value
Type Description
System.Int32
Implements
IBaseEntity.Id

InterestPreference

Represent a Relation class for the Interest and Preferences of the User

Declaration
[Exportable]
public virtual InterestPreference InterestPreference { get; set; }
Property Value
Type Description
InterestPreference

Mental

Represents the Mental characteristics of the User

Declaration
[Exportable]
public virtual Mental Mental { get; set; }
Property Value
Type Description
Mental

Personality

Represent the Personality attributes of the User

Declaration
[NonExportable]
public virtual ICollection<PersonalityAttribute> Personality { get; set; }
Property Value
Type Description
System.Collections.Generic.ICollection<T><PersonalityAttribute>

Physiology

Represent the Physiological aspects of the User

Declaration
[Exportable]
public virtual Physiology Physiology { get; set; }
Property Value
Type Description
Physiology

Roles

The Roles that the User is playing

Declaration
[NonExportable]
public virtual ICollection<Role> Roles { get; set; }
Property Value
Type Description
System.Collections.Generic.ICollection<T><Role>

SocialNetworks

The list of social networks/online platforms the user belong to

Declaration
[Exportable]
public virtual ICollection<SocialNetwork> SocialNetworks { get; set; }
Property Value
Type Description
System.Collections.Generic.ICollection<T><SocialNetwork>

Methods

GetOrCreate(Int32)

Get or Creates an empty @User in DB (used by importers)

Declaration
public static User GetOrCreate(int id)
Parameters
Type Name Description
System.Int32 id
Returns
Type Description
User

@User

Back to top Copyright © 2015-2016 Microsoft
Generated by DocFX