Class SaveChangesResult
- Namespace
- Biwen.QuickApi.UnitOfWork
- Assembly
- Biwen.QuickApi.dll
Represent operation result for SaveChanges.
public sealed class SaveChangesResult
- Inheritance
-
SaveChangesResult
- Inherited Members
- Extension Methods
Constructors
SaveChangesResult()
Ctor
public SaveChangesResult()
SaveChangesResult(string)
public SaveChangesResult(string message)
Parameters
message
string
Properties
Exception
Last Exception you can find here
public Exception? Exception { get; set; }
Property Value
IsOk
Is Exception occupied while last operation execution
public bool IsOk { get; }
Property Value
Methods
AddMessage(string)
Adds new message to result
public void AddMessage(string message)
Parameters
message
string