Sign in
MSDN Blogs
Microsoft Blog Images
More ...
Common Tasks
Blog Home
Email Blog Author
RSS for comments
RSS for posts
Atom
Search
Tags
dynamic methods
entity data model
entity framework
expressions
immutability
linq
LINQ to Entities
OData
Reactive
Rx
stored procedures
StreamInsight
StreamInsight Rx
Archives
Archives
April 2012
(2)
March 2012
(1)
July 2011
(1)
January 2011
(2)
October 2010
(2)
August 2010
(2)
December 2008
(3)
May 2008
(2)
April 2008
(1)
March 2008
(1)
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
meek
Dynamic Union
Posted
over 1 year ago
by
Colin Meek
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...
meek
StreamInsight Checkpoints: What, How and Why?
Posted
over 1 year ago
by
Colin Meek
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
Sequences and StreamInsight: Initiating a Computation
Posted
over 1 year ago
by
Colin Meek
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
LINQ “Macros” in StreamInsight 1.2: Left Outer Join
Posted
over 2 years ago
by
Colin Meek
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
LINQ Queries as Streams and Thread Safety
Posted
over 2 years ago
by
Colin Meek
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
LINQ Macros
Posted
over 2 years ago
by
Colin Meek
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
StreamInsight Sequence Integration: Five Easy Pieces
Posted
over 3 years ago
by
Colin Meek
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
Using and Discovering StreamInsight Instances
Posted
over 3 years ago
by
Colin Meek
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
Scripting StreamInsight queries
Posted
over 3 years ago
by
Colin Meek
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
EF Extensions for Visual Studio 2010
Posted
over 3 years ago
by
Colin Meek
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
InvocationExpression and LINQ to Entities
Posted
over 5 years ago
by
Colin Meek
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
Stored Procedures and First-Class Relationships in the Entity Framework
Posted
over 5 years ago
by
Colin Meek
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
EFExtensions update
Posted
over 5 years ago
by
Colin Meek
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
Using LINQ Expressions to Generate Dynamic Methods II
Posted
over 5 years ago
by
Colin Meek
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 to Entities: Combining Predicates
Posted
over 5 years ago
by
Colin Meek
12
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
Posted
over 5 years ago
by
Colin Meek
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
ADO.Entity Framework: Stored Procedure Customization
Posted
over 5 years ago
by
Colin Meek
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...
Page 1 of 1 (17 items)