Is there a built-in way to do an "insert-or-update" in Castle ActiveRecord?
Something along the lines of:
try
{
ActiveRecordMediator<TEntity>.Create(e);
}
catch (Exception)
{
ActiveRecordMediator<TEntity>.Update(e);
}
Is there a built-in way to do an "insert-or-update" in Castle ActiveRecord?
Something along the lines of:
try
{
ActiveRecordMediator<TEntity>.Create(e);
}
catch (Exception)
{
ActiveRecordMediator<TEntity>.Update(e);
}