hi To create dyanmic Linq query written this code var query = dc.VW_MyView.Where(o => Field1.WantToIncludeInWhere == true ? (Field1.state == enum_RatherThan .Equal ? (Field1.values == o.Field1 ? true : false ) : (Field1.state == enum_RatherThan .Like ? ( o.Field1.Contain( Field1.values) ? true : false ) )) : true) .Select("new ( Field1 )"); but for several fields this is very slow and greate create this string can`nt help me >>>var query = dc.VW_MyView.Where( " Field1 LIKE'%Field1%' ").Select("new
Read More...