مطالب
خلاصه اشتراک‌های روز دو شنبه 1390/06/28

اشتراک‌ها
AutoMapper 4.0 منتشر شد

There’s a ton of small bug fixes in this release, quite a few enhancements and a few larger new features. Configuration performance went up quite a bit, and I’ve laid the groundwork to make in-memory mapping a lot faster in the future. LINQ projection has gotten to the point where you can do anything that the major query providers support.

AutoMapper 4.0 منتشر شد
پاسخ به بازخورد‌های پروژه‌ها
استفاده از Fluent Query در دیتا سورس PDFReporter
- زمانی استفاده از
column.PropertyName<CheckOut>
معنا دارد که خروجی کوئری شما strongly typed باشد. مثلا یک view model یا کلاس ساده تعریف کردید و خروجی ToList به این کلاس نهایی نگاشت شده.
- خروجی کوئری شما از نوع CheckOut نیست. بنابراین ذکر آن حاصلی ندارد. چون در این حالت فرض می‌شود که listOfRows حاصل کوئری شما، لیستی است جنریک از نوع CheckOut (که نیست).
- در حالتیکه با Anonymous objects کار می‌کنید و خروجی کوئری نهایی انطباقی با اشیاء و مدل‌های شما ندارد (چند خاصیت اضافه‌تر دارد یا اصلا ندارد)، برای معرفی خواص از string استفاده کنید. مثلا:
 column.PropertyName("FName");
// یا چند سطحی
 column.PropertyName("Prop1.Prop2.Name");
اشتراک‌ها
Jint؛ یک مفسر جاوااسکریپتی مخصوص دات نت

Jint is a Javascript interpreter for .NET which can run on any modern .NET platform as it supports .NET Standard 2.0 and .NET 4.6.1 targets (and up). Because Jint neither generates any .NET bytecode nor uses the DLR it runs relatively small scripts really fast. 

Jint؛ یک مفسر جاوااسکریپتی مخصوص دات نت