Dynamic Queries and LINQ Expressions

Posted by: Rick Strahls WebLog, on 14 Apr 2008 | View original | Bookmarked: 0 time(s)

I'm revisiting some code in my LINQ to SQL business objects layer that I've written about before. The problem I ran into and described was that I had a class with generic business object behavior that needs to look up values based on a database field that wouldn't be known until runtime. The concrete example I used is a Load(object x) method on the business object, where each instance of the class dynamically picks up the primary key (from the metadata available) and then loads an entity from the...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: SQL | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 970 | Hits: 58

Similar Posts

  • Html Encoding Nuggets With ASP.NET MVC 2 more
  • Dynamic in C# 4.0: Creating Wrappers with DynamicObject more
  • Serialising Microsoft StreamInsight QueryTemplates more
  • Using LinqPad with Telerik OpenAccess ORM more
  • Dynamic Searching using LINQ - Dataset + Joins more
  • Eloquera Database - the web-oriented client/server object database for .NET more
  • LINQ in Action samples in LINQPad more
  • Checking for EF to TSQL Query Compilation Changes in VS2010 Beta1 more
  • Image Transforms with the ASP.NET Generated Image Control more
  • An Extensive Examination of LINQ: Using the Query Syntax more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD