NActiveRecord类似ruby世界中activeRecord,用c#实现
示例代码:
//findByQuery--------------------- IEnumerable products= Products.Select(“ProductName”).From(“Products”) .Where(@”ProductName=@ProductName”, ProductName => “Chang”) .Where(@”UnitPrice < @UnitPrice AND CategoryID=@CategoryID”, @UnitPrice => 18, CategoryID=>1).Result()