SmartFramework.EF.Min.dll

Rating: No reviews yet
Downloads: 29
Released: Feb 22, 2012
Updated: Feb 22, 2012 by danducgiang
Dev status: Alpha Help Icon

Downloads

Application SmartFramework.EF.Min
application, 29K, uploaded Feb 22, 2012 - 11 downloads
Example SmartFramework.EF.Min.Example
example, 54K, uploaded Feb 22, 2012 - 18 downloads

Release Notes

SmartFramework.EF.Min, it's support Entity Framework access database fast and easy.

Namespace: SmartFramework.EF.Min
Class: SmartObjectContext
Some methods:

void ExecuteSql(string sql);//execute sql
void Insert(E entity);//insert objec
void Insert(IEnumerable<E> list);//insert list object
void Save(E entity);//save object: update or insert
void DeleteRelatedEntries(E entity);//delete object vs related
void DeleteRelatedEntries(E entity, ObservableCollection<string> keyListOfIgnoreEntites);//delete object vs option
void Delete(E entity);//delte object
void Save(E entity, Expression<Func<E, bool>> condition);//save object vs condition
void Delete(Expression<Func<E, bool>> condition);//delete by condition
int Save();//save object vs
E Get(Expression<Func<E, bool>> sortExpression);//get object by condition
ObjectQuery<E> Select(string entitySetName);//select object by entity name
ObjectQuery<E> Select();
ObjectQuery<E> Select(string entitySetName, ISpecification<E> where);
ObjectQuery<E> Select(ISpecification<E> where);
ObjectQuery<E> Select(int maximumRows, int startRowIndex);
ObjectQuery<E> Select(Expression<Func<E, bool>> whereCondition);
ObjectQuery<E> Select(Expression<Func<E, bool>> sortExpression, int maximumRows, int startRowIndex);
IList<E> SelectAll(string entitySetName);
IList<E> SelectAll();
IList<E> SelectAll(string entitySetName, ISpecification<E> where);
IList<E> SelectAll(ISpecification<E> where);
IList<E> SelectAll(int maximumRows, int startRowIndex);
IList<E> SelectAll(Expression<Func<E, bool>> sortExpression);
IList<E> SelectAll(Expression<Func<E, bool>> sortExpression, int maximumRows, int startRowIndex);
E SelectByKey(string Key);
bool TrySameValueExist(string fieldName, object fieldValue, string key);
bool TryEntity(ISpecification<E> selectSpec);
int GetCount();
int GetCount(ISpecification<E> selectSpec);

Reviews for this release

No reviews yet for this release.