Show / Hide Table of Contents

Class PollOption

Inheritance
object
Entity
Entity<Guid>
PollOption
Implements
IEntity<Guid>
IEntity
IMultiTenant
Inherited Members
Entity<Guid>.GetKeys()
Entity<Guid>.ToString()
Entity<Guid>.Id
Entity.EntityEquals(IEntity)
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.CmsKit.Polls
Assembly: Volo.CmsKit.Pro.Domain.dll
Syntax
public class PollOption : Entity<Guid>, IEntity<Guid>, IEntity, IMultiTenant

Constructors

PollOption()

Declaration
protected PollOption()

Properties

Order

Declaration
public virtual int Order { get; protected set; }
Property Value
Type Description
int

PollId

Declaration
public virtual Guid PollId { get; protected set; }
Property Value
Type Description
Guid

TenantId

Declaration
public virtual Guid? TenantId { get; protected set; }
Property Value
Type Description
Guid?

Text

Declaration
public virtual string Text { get; protected set; }
Property Value
Type Description
string

VoteCount

Declaration
public virtual int VoteCount { get; protected set; }
Property Value
Type Description
int

Methods

Increase()

Declaration
public virtual void Increase()

SetOrder(int)

Declaration
public virtual void SetOrder(int order)
Parameters
Type Name Description
int order

SetText(string)

Declaration
public virtual void SetText(string text)
Parameters
Type Name Description
string text

Implements

IEntity<TKey>
IEntity
IMultiTenant

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform