Browse by Tags

Tagged Content List
  • Blog Post: LINQ to Objects and Buffer<T>

    I was debugging a problem a couple of days ago, when I learned something interesting. I had some code that looked like this: foreach(Employee e in manager.Manages) { … } The manager.Manages property returned a custom implementation of ICollection<Employee> that lazy-loads it’s data from somewhere...
  • Blog Post: Nullable=”False”… but when exactly?

    If you look at the EDM and in particular the metadata it considers important, one thing is clear: Persistence is the Priority . For example this: <Property Name=”Firstname” Type=”String” Nullable=”False”/> Tells us that the Firstname property can’t be null when persisted. If however the EDM Type...
  • Blog Post: LINQ to non-enumerable?

    So I was reading Wes' latest post about Monad's a while back (which incidentally is well worth a read, it is the first good explanation of Monad 's I've seen that uses a language I am comfortable with in it's examples, namely C#). Well one thing Wes kind of brushes over is the fact that he ends up...
  • Blog Post: T CastByExample<T>(object o, T example)

    So earlier today I was lamenting that an anonymous type can't be shared between functions with Wes Dyer , when he said "Well actually they can..." Cue me learning something cool. The first step is to create a seemingly innocent method: public static T CastByExample<T>( this object o, T...
Page 1 of 1 (4 items)