EntityExtensions.HasValue Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

HasValue(IEntity, bool)

Returns true if the entity has a value otherwise false.

public static bool HasValue(this IEntity entity, bool filter = true)

Parameters

entity
IEntity

The entity to check.

filter
bool

Returns

bool

True if a value is set otherwise false.