عنوان:

‫IQueryable و طراحی‌های نشتی‌دار


نویسنده: وحید نصیری
تاریخ: ۱۳۹۸/۰۶/۰۶ ۱۱:۲۱
آدرس: www.dntips.ir
public interface IRepository
{
    IQueryable<T> Query<T>();
}
Programmers who define such interfaces invariably have a specific ORM in mind, and they implicitly tend to stay within the bounds they know are safe for that specific ORM. This is a leaky abstraction .  


مشاهده مطلب اصلی