Table of Contents

Class UserGroupMappingSqlModel

Namespace
OpenSettings.Domains.Sql.Entities
Assembly
OpenSettings.dll

Represents a user-group mapping entity.

[Table("UserGroupMappings")]
public class UserGroupMappingSqlModel : EntityBase<int>
Inheritance
UserGroupMappingSqlModel
Inherited Members

Properties

CreatedBy

The user who created this user user-group mapping.

[ForeignKey("CreatedById")]
public virtual UserSqlModel CreatedBy { get; set; }

Property Value

UserSqlModel

CreatedById

The id of the user who created this user-group mapping.

public Guid? CreatedById { get; set; }

Property Value

Guid?

Group

The user group associated with this mapping.

public virtual UserGroupSqlModel Group { get; set; }

Property Value

UserGroupSqlModel

GroupId

The id of the associated user group.

public int GroupId { get; set; }

Property Value

int

Id

[NotMapped]
public int Id { get; set; }

Property Value

int

UpdatedOn

[NotMapped]
public DateTime? UpdatedOn { get; set; }

Property Value

DateTime?

User

The user associated with this mapping.

public virtual UserSqlModel User { get; set; }

Property Value

UserSqlModel

UserId

The id of the associated user.

public Guid UserId { get; set; }

Property Value

Guid