Class DataCommandResult
Encapsulates the result of a data command.
Inheritance
System.Object
System.Dynamic.DynamicObject
DataCommandResult
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 DataCommandResult : Expando, IDataCommandResult, IExpando, IDynamicMetaObjectProvider, IIndexable
Constructors
| Improve this Doc View SourceDataCommandResult(String, Exception)
Initializes a new instance of the DataCommandResult class.
Declaration
public DataCommandResult(string message, Exception exception = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
System.Exception | exception | The exception (optional). |
Fields
| Improve this Doc View SourceSuccess
The result representing a successful operation.
Declaration
public static readonly DataCommandResult Success
Field Value
Type | Description |
---|---|
DataCommandResult |
Properties
| Improve this Doc View SourceException
Gets the exception.
Declaration
public Exception Exception { get; }
Property Value
Type | Description |
---|---|
System.Exception | The exception. |
Message
Gets the result message.
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
System.String | The message. |
Implements
System.Dynamic.IDynamicMetaObjectProvider