To see my contact information, please visit my personal website at http://danielsadventure.info.

1d
awarded Notable Question
Nov
20
comment How to get the maximum length of a string from an EDMX model in code?
I'm surprised by the low number of views on this question. Thanks very much for the helpful answers; I might have never figured it out on my own.
Nov
20
accepted How to get the maximum length of a string from an EDMX model in code?
Nov
19
comment How to get the maximum length of a string from an EDMX model in code?
Oops, I thought it was a placeholder for my entity type.
Nov
19
comment How to get the maximum length of a string from an EDMX model in code?
The function GetItems returns an enumeration of 393 items. However, the OfType<myTable> function, where myTable is a model of a SQL table, returns an empty enumeration.
Nov
19
revised How to get the maximum length of a string from an EDMX model in code?
added 166 characters in body
Nov
19
comment How to get the maximum length of a string from an EDMX model in code?
I did check and I see that it's a DbContext. To be honest, I have heard of DbContext, but I haven't read up on all the new features of the new Entity Framework versions, so this one got past me. Wow, there is so much keeping up to do in the .net world!
Nov
19
comment How to get the maximum length of a string from an EDMX model in code?
I'm confused. I thought that the EDMX entities is an ObjectContext, which has nothing to do with DbContext.
Nov
19
comment How to get the maximum length of a string from an EDMX model in code?
I'm getting an error with your code. When I write code like your example, I use a class imported from a SQL table for EntityType and I get an error: The type cannot be used as type parameter 'T'... there is no implicit reference conversion from myTable to GlobalItem. What does this mean?
Nov
19
comment How to get the maximum length of a string from an EDMX model in code?
Is context the instantiation of the entities from the EDMX, or are you talking about something else?
Nov
19
asked How to get the maximum length of a string from an EDMX model in code?
Nov
19
revised What would be observed by two observers traveling away from one another at 0.75c? (And why?)
added 1329 characters in body
Nov
19
awarded Editor
Nov
19
revised What would be observed by two observers traveling away from one another at 0.75c? (And why?)
added 1329 characters in body
Nov
19
asked What would be observed by two observers traveling away from one another at 0.75c? (And why?)
Nov
19
awarded Supporter
Nov
19
awarded Autobiographer
Nov
18
answered Set lock true for group of cells
Nov
18
comment Set lock true for group of cells
Thanks for this answer!
Nov
17
revised How to use .net to add checkboxes to an Excel spreadsheet?
added 284 characters in body
1 2 3 4 5