ProviderBase<S extends ISqliteQuery<I>, I extends IModel> class abstract

ProviderBase To Provider From One Model

Constructors

ProviderBase(Provider<ISqliteQuery<IModel>> provider, String tableName)

Properties

hashCode int
The hash code for this object.
no setterinherited
query ↔ S
You Need To query To Get Actions Form Him
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

Add(I item) Future<void>
Add Fuction For Add Item To Database
Delete(dynamic id) Future<void>
Delete Fuction For Delete Item From Database
Execute(String sql) Future<void>
Execute For Execute A Query
FirstOrDefault(String queryTxt) Future<I>
FirstOrDefault For Get The Item From Database But With Where query
fromMap(Map<String, dynamic> map) → I
fromMap Fuction For Convert From Map To Item
Get() Future<List<I>>
Get For Get All Items
GetById(dynamic id) Future<I>
GetById Get A Item From Database With Id
GetPropByEnum(PropertyEnum prop) EFProperty<I>
GetPropByEnum Get Property From Table With Details But With Enum
GetPropByName(String name) EFProperty<I>
GetPropByName Get Property From Table With Details But With Name Of Property
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap(I item) Map<String, dynamic>
toMap Fuction For Convert From Item To Map
toString() String
A string representation of this object.
inherited
Update(I item) Future<void>
Update Fuction For Update Item From Database
Where(String queryTxt) Future<List<I>>
Where For Get The Items From Database But With Where query

Operators

operator ==(Object other) bool
The equality operator.
inherited