Skip to main content

IUntypedApi

Assembly: ServiceStack.OrmLite.dll
View Source
Declaration
public interface IUntypedApi

Properties

Db

View Source
Declaration
IDbConnection Db { get; set; }

DbCmd

View Source
Declaration
IDbCommand DbCmd { get; set; }

Methods

SaveAll(IEnumerable)

View Source
Declaration
int SaveAll(IEnumerable objs)
Returns

System.Int32

Parameters
TypeName
IEnumerableobjs

SaveAllAsync(IEnumerable, CancellationToken)

View Source
Declaration
Task<int> SaveAllAsync(IEnumerable objs, CancellationToken token)
Returns

Task<System.Int32>

Parameters
TypeName
IEnumerableobjs
CancellationTokentoken

Save(Object)

View Source
Declaration
bool Save(object obj)
Returns

System.Boolean

Parameters
TypeName
System.Objectobj

SaveAsync(Object, CancellationToken)

View Source
Declaration
Task<bool> SaveAsync(object obj, CancellationToken token)
Returns

Task<System.Boolean>

Parameters
TypeName
System.Objectobj
CancellationTokentoken

InsertAll(IEnumerable)

View Source
Declaration
void InsertAll(IEnumerable objs)
Parameters
TypeName
IEnumerableobjs

InsertAll(IEnumerable, Action<IDbCommand>)

View Source
Declaration
void InsertAll(IEnumerable objs, Action<IDbCommand> commandFilter)
Parameters
TypeName
IEnumerableobjs
Action<IDbCommand>commandFilter

Insert(Object, Boolean)

View Source
Declaration
long Insert(object obj, bool selectIdentity = false)
Returns

System.Int64

Parameters
TypeName
System.Objectobj
System.BooleanselectIdentity

Insert(Object, Action<IDbCommand>, Boolean)

View Source
Declaration
long Insert(object obj, Action<IDbCommand> commandFilter, bool selectIdentity = false)
Returns

System.Int64

Parameters
TypeName
System.Objectobj
Action<IDbCommand>commandFilter
System.BooleanselectIdentity

UpdateAll(IEnumerable)

View Source
Declaration
int UpdateAll(IEnumerable objs)
Returns

System.Int32

Parameters
TypeName
IEnumerableobjs

UpdateAll(IEnumerable, Action<IDbCommand>)

View Source
Declaration
int UpdateAll(IEnumerable objs, Action<IDbCommand> commandFilter)
Returns

System.Int32

Parameters
TypeName
IEnumerableobjs
Action<IDbCommand>commandFilter

Update(Object)

View Source
Declaration
int Update(object obj)
Returns

System.Int32

Parameters
TypeName
System.Objectobj

UpdateAsync(Object, CancellationToken)

View Source
Declaration
Task<int> UpdateAsync(object obj, CancellationToken token)
Returns

Task<System.Int32>

Parameters
TypeName
System.Objectobj
CancellationTokentoken

DeleteAll()

View Source
Declaration
int DeleteAll()
Returns

System.Int32

Delete(Object, Object)

View Source
Declaration
int Delete(object obj, object anonType)
Returns

System.Int32

Parameters
TypeName
System.Objectobj
System.ObjectanonType

DeleteNonDefaults(Object, Object)

View Source
Declaration
int DeleteNonDefaults(object obj, object filter)
Returns

System.Int32

Parameters
TypeName
System.Objectobj
System.Objectfilter

DeleteById(Object)

View Source
Declaration
int DeleteById(object id)
Returns

System.Int32

Parameters
TypeName
System.Objectid

DeleteByIds(IEnumerable)

View Source
Declaration
int DeleteByIds(IEnumerable idValues)
Returns

System.Int32

Parameters
TypeName
IEnumerableidValues

Cast(IEnumerable)

View Source
Declaration
IEnumerable Cast(IEnumerable results)
Returns

IEnumerable

Parameters
TypeName
IEnumerableresults