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
Type | Name |
---|---|
IEnumerable | objs |
SaveAllAsync(IEnumerable, CancellationToken)
View Source
Declaration
Task<int> SaveAllAsync(IEnumerable objs, CancellationToken token)
Returns
Task<System.Int32>
Parameters
Type | Name |
---|---|
IEnumerable | objs |
CancellationToken | token |
Save(Object)
View Source
Declaration
bool Save(object obj)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Object | obj |
SaveAsync(Object, CancellationToken)
View Source
Declaration
Task<bool> SaveAsync(object obj, CancellationToken token)
Returns
Task<System.Boolean>
Parameters
Type | Name |
---|---|
System.Object | obj |
CancellationToken | token |
InsertAll(IEnumerable)
View Source
Declaration
void InsertAll(IEnumerable objs)
Parameters
Type | Name |
---|---|
IEnumerable | objs |
InsertAll(IEnumerable, Action<IDbCommand>)
View Source
Declaration
void InsertAll(IEnumerable objs, Action<IDbCommand> commandFilter)
Parameters
Type | Name |
---|---|
IEnumerable | objs |
Action<IDbCommand> | commandFilter |
Insert(Object, Boolean)
View Source
Declaration
long Insert(object obj, bool selectIdentity = false)
Returns
System.Int64
Parameters
Type | Name |
---|---|
System.Object | obj |
System.Boolean | selectIdentity |
Insert(Object, Action<IDbCommand>, Boolean)
View Source
Declaration
long Insert(object obj, Action<IDbCommand> commandFilter, bool selectIdentity = false)
Returns
System.Int64
Parameters
Type | Name |
---|---|
System.Object | obj |
Action<IDbCommand> | commandFilter |
System.Boolean | selectIdentity |
UpdateAll(IEnumerable)
View Source
Declaration
int UpdateAll(IEnumerable objs)
Returns
System.Int32
Parameters
Type | Name |
---|---|
IEnumerable | objs |
UpdateAll(IEnumerable, Action<IDbCommand>)
View Source
Declaration
int UpdateAll(IEnumerable objs, Action<IDbCommand> commandFilter)
Returns
System.Int32
Parameters
Type | Name |
---|---|
IEnumerable | objs |
Action<IDbCommand> | commandFilter |
Update(Object)
View Source
Declaration
int Update(object obj)
Returns
System.Int32
Parameters
Type | Name |
---|---|
System.Object | obj |
UpdateAsync(Object, CancellationToken)
View Source
Declaration
Task<int> UpdateAsync(object obj, CancellationToken token)
Returns
Task<System.Int32>
Parameters
Type | Name |
---|---|
System.Object | obj |
CancellationToken | token |
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
Type | Name |
---|---|
System.Object | obj |
System.Object | anonType |
DeleteNonDefaults(Object, Object)
View Source
Declaration
int DeleteNonDefaults(object obj, object filter)
Returns
System.Int32
Parameters
Type | Name |
---|---|
System.Object | obj |
System.Object | filter |
DeleteById(Object)
View Source
Declaration
int DeleteById(object id)
Returns
System.Int32
Parameters
Type | Name |
---|---|
System.Object | id |
DeleteByIds(IEnumerable)
View Source
Declaration
int DeleteByIds(IEnumerable idValues)
Returns
System.Int32
Parameters
Type | Name |
---|---|
IEnumerable | idValues |
Cast(IEnumerable)
View Source
Declaration
IEnumerable Cast(IEnumerable results)
Returns
IEnumerable
Parameters
Type | Name |
---|---|
IEnumerable | results |