Class FindResult
Encapsulates the result of a find command.
Inheritance
System.Object
System.Dynamic.DynamicObject
FindResult
Implements
System.Dynamic.IDynamicMetaObjectProvider
Inherited Members
System.Dynamic.DynamicObject.GetMetaObject(System.Linq.Expressions.Expression)
System.Dynamic.DynamicObject.TryBinaryOperation(System.Dynamic.BinaryOperationBinder, System.Object, System.Object)
System.Dynamic.DynamicObject.TryConvert(System.Dynamic.ConvertBinder, System.Object)
System.Dynamic.DynamicObject.TryCreateInstance(System.Dynamic.CreateInstanceBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryDeleteIndex(System.Dynamic.DeleteIndexBinder, System.Object[])
System.Dynamic.DynamicObject.TryDeleteMember(System.Dynamic.DeleteMemberBinder)
System.Dynamic.DynamicObject.TryGetIndex(System.Dynamic.GetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryInvoke(System.Dynamic.InvokeBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TrySetIndex(System.Dynamic.SetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryUnaryOperation(System.Dynamic.UnaryOperationBinder, System.Object)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Data.Commands
Assembly: Kephas.Data.dll
Syntax
public class FindResult : DataCommandResult, IFindResult, IDataCommandResult, IExpando, IDynamicMetaObjectProvider, IIndexable
Constructors
| Improve this Doc View SourceFindResult(Object, String, Exception)
Initializes a new instance of the FindResult class.
Declaration
public FindResult(object entity, string message = null, Exception exception = null)
Parameters
Type | Name | Description |
---|---|---|
System.Object | entity | The found entity. |
System.String | message | The message (optional). |
System.Exception | exception | The exception (optional). |
Properties
| Improve this Doc View SourceEntity
Gets the found entity or null
if no entity could be found.
Declaration
public object Entity { get; }
Property Value
Type | Description |
---|---|
System.Object | The found entity. |
Implements
System.Dynamic.IDynamicMetaObjectProvider