Visual Studio Feeds English |
- Learn about RadDiagnostics for retrieving Exception Details using the Telerik Controls for WP7
- Cloudera VirtualBox boot error NET: Registered protocol family 2
- “Meet Windows Azure” Event Scheduled for 6/7/2012 in San Francisco
- EF5 Release Candidate Available on NuGet
- Some insight into our 4/26 deployment
- Team Explorer Everywhere in the Eclipse Marketplace
- The DevOps PaaS Infusion: Taking Any App To The Cloud–Windows Azure & Cloudify ...
- Windows Azure, Scott Guthrie, 22nd June, London
- IQueryable Dynamic Expressions
- Mobile Development with C# - O'Reilly Media
| Learn about RadDiagnostics for retrieving Exception Details using the Telerik Controls for WP7 Posted: 15 May 2012 01:29 PM PDT |
| Cloudera VirtualBox boot error NET: Registered protocol family 2 Posted: 15 May 2012 12:59 PM PDT |
| “Meet Windows Azure” Event Scheduled for 6/7/2012 in San Francisco Posted: 15 May 2012 10:57 AM PDT |
| EF5 Release Candidate Available on NuGet Posted: 15 May 2012 10:42 AM PDT |
| Some insight into our 4/26 deployment Posted: 15 May 2012 10:26 AM PDT |
| Team Explorer Everywhere in the Eclipse Marketplace Posted: 15 May 2012 10:26 AM PDT |
| The DevOps PaaS Infusion: Taking Any App To The Cloud–Windows Azure & Cloudify ... Posted: 15 May 2012 09:56 AM PDT |
| Windows Azure, Scott Guthrie, 22nd June, London Posted: 15 May 2012 08:11 AM PDT |
| IQueryable Dynamic Expressions Posted: 15 May 2012 08:10 AM PDT public static class QueryableExtensions { public static IQueryable Filter(this IQueryable queryable, IEnumerable filters) where T : class { foreach (var filter in filters) { var propertyName = typeof(T).GetProperties().Select(x => x.Name).SingleOrDefault(x => x.ToLower() == filter.Key.ToLower()); if (propertyName.IsNullOrWhiteSpace()) continue; var parameterExpression = Expression.Parameter(typeof(T)); var propertyExpression = Expression.Property(parameterExpression, propertyName); var toStringCallExpression = Expression.Call(propertyExpression, typeof(T).GetMethod("ToString")); var toLowerCallExpression = Expression.Call(toStringCallExpression, typeof(string).GetMethod("ToLower", Type.EmptyTypes)); var constantExpression = Expression.Constant(filter.Value.ToLower()); var equalExpression = Expression.Equal(toLowerCallExpression, constantExpression); var methodCallExpression = Expression.Call(typeof(Queryable), "Where", new[] { typeof(T) }, queryable.Expression, Expression.Lambda(equalExpression, new[] { parameterExpression })); queryable = queryable.Provider.CreateQuery(methodCallExpression) as IQueryable; } return queryable; } } ...(Read whole news on source site) (http://geekswithblogs.net/Nettuce/archive/2012/05/15/iqueryable-dynamic-expressions.aspx) |
| Mobile Development with C# - O'Reilly Media Posted: 15 May 2012 08:10 AM PDT Mobile Development with C# - O'Reilly Media (http://shop.oreilly.com/product/0636920024002.do?imm_mid=0869b1&cmp=em-npa-newsletter-oreilly-may15): Code Sharing TechniquesProject SetupFile LinkingAbstractionObserver PatternPartial ClassesConditional CompilationSummaryChapter 4 Accessing the NetworkReaching into the CloudNotifying |
| You are subscribed to email updates from VSF RSS English To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
| Google Inc., 20 West Kinzie, Chicago IL USA 60610 | |
Комментариев нет:
Отправить комментарий