• meek

    ADO.Entity Framework: Stored Procedure Customization

    • 13 Comments
    The ADO.NET Entity Framework (EF) allows you to map stored procedures to functions that return typed results in the conceptual model. However, when stored procedures results don't match the patterns supported by the EF, reading and tracking results is...
  • meek

    LINQ to Entities: Combining Predicates

    • 14 Comments
    Someone asked a great question on the ADO.NET Entity Framework forums yesterday: how do I compose predicates in LINQ to Entities? I’ll give three answers to the question. Answer 1: Chaining query operators Basically, you have some query and you...
  • meek

    Using LINQ Expressions to Generate Dynamic Methods

    • 6 Comments
    This week at DevConnections in Orlando, I gave a “deep-dive” talk on LINQ. I wanted to give people a feel for what's possible with the new language features and core APIs in .NET 3.5. I spent most of the talk discussing a single example: take an ADO.NET...
  • meek

    Stored Procedures and First-Class Relationships in the Entity Framework

    • 4 Comments
    A user of the EFExtensions library asked me how to retrieve a set of ‘categories’ and their related ‘products’ through a single stored procedure call. I made some changes to the sample application to illustrate this pattern, but I thought I should also...
  • meek

    InvocationExpression and LINQ to Entities

    • 2 Comments
    I talked a little bit about patterns using InvocationExpression in a previous post (you might want to review the post for some context). It turns out my advice wasn’t that easy to implement… Fortunately, the EFExtensions helper library now includes an...
  • meek

    Using LINQ Expressions to Generate Dynamic Methods II

    • 1 Comments
    A beta of Visual Studio 2008 SP1 was released on Monday and the ADO.NET Entity Framework (EF) is now in the box! You can download and install the Beta here . The EF Extensions library has been updated to work with the beta and includes several public...
  • meek

    LINQ Macros

    • 1 Comments
    A colleague was asking how to construct a particular LINQ “operator macro” today. Basically, he was finding it inconvenient to repeat boilerplate for particular operator patterns in his code, but was struggling to inline expression snippets into LINQ...
  • meek

    EF Extensions for Visual Studio 2010

    • 0 Comments
    The EF Extensions sample has been updated for Visual Studio 2010. It’s available for download here . Nothing new in this release… some features have actually been removed because they’re no longer needed in .NET 4.0. The EF proper now includes an ObjectSet<TEntity>...
  • meek

    Scripting StreamInsight queries

    • 5 Comments
    Over the past couple of weeks, a handful of people have asked for help dynamically creating StreamInsight queries. I usually scrawl some boxes and arrows on the whiteboard and say “you could try something like this…” My hand-waving...
  • meek

    StreamInsight Sequence Integration: Five Easy Pieces

    • 2 Comments
    Over the past few weeks, I’ve spent time building a handful of applications using the new sequence integration APIs in StreamInsight 1.1. I think StreamInsight veterans will be pleasantly surprised at the seamlessness of the experience! If you’re new...
  • meek

    LINQ Queries as Streams and Thread Safety

    • 0 Comments
    A few weeks ago, Torsten Grabs – a colleague on the StreamInsight team and accomplished violist – came to me with a potential bug. He was seeing an ADO.NET SqlClient exception when running a StreamInsight query: “ There is already an open DataReader associated...
  • meek

    Using and Discovering StreamInsight Instances

    • 0 Comments
    Embedding a StreamInsight server instance in your application is easy: using (var server = Server.Create("Default")) { … } But there’s a hitch. What does“Default” mean? If you’ve spent time with the StreamInsight...
  • meek

    LINQ “Macros” in StreamInsight 1.2: Left Outer Join

    • 0 Comments
    In an earlier post , I discussed implementation of custom query operators that combine existing built-in operators. In StreamInsight 1.2 , we have made some changes to simplify implementation of custom operators. In the running example from the previous...
  • meek

    StreamInsight Checkpoints: What, How and Why?

    • 0 Comments
    I’ve been fielding some questions this week on checkpoints in StreamInsight. I’ll share my way of thinking about checkpoints in the hopes that it will help others build applications leveraging the feature. First, I’ll define what a StreamInsight...
  • meek

    EFExtensions update

    • 0 Comments
    The EFExtensions helper library has a few updates: - CreateCommand now respects the CommandTimeout property on ObjectContext . A user of the library reported this bug to me a while ago, and I’m finally getting around to fixing it. - One tricky...
  • meek

    Sequences and StreamInsight: Initiating a Computation

    • 0 Comments
    By Colin Meek, Alex Raizman, and Rafael Fernandez Moctezuma When bridging between temporal streams ( CepStream ), pull-sequences ( IEnumerable ), and push sequences ( IObservable ) using the StreamInsight sequence integration feature , handling of...
  • meek

    Dynamic Union

    • 0 Comments
    Let’s say there are several agents – e.g. devices – producing temporal streams. It may be interesting to merge these sequences into a single stream that can be processed by StreamInsight. The “union” operator allows you to...
Page 1 of 1 (17 items)