Click here to Skip to main content
15,898,374 members
Home / Discussions / C#
   

C#

 
AnswerRe: Linq Query : Translate Local Variables reference Pin
Eddy Vluggen20-Feb-15 1:18
professionalEddy Vluggen20-Feb-15 1:18 
AnswerRe: Linq Query : Translate Local Variables reference Pin
HKHerron20-Feb-15 7:12
professionalHKHerron20-Feb-15 7:12 
Questionc# "Object reference not set to an instance of an object." Pin
iguru119-Feb-15 11:53
iguru119-Feb-15 11:53 
AnswerRe: c# "Object reference not set to an instance of an object." Pin
Ron Nicholson19-Feb-15 12:11
professionalRon Nicholson19-Feb-15 12:11 
AnswerRe: c# "Object reference not set to an instance of an object." Pin
V.19-Feb-15 20:34
professionalV.19-Feb-15 20:34 
GeneralRe: c# "Object reference not set to an instance of an object." Pin
Richard MacCutchan19-Feb-15 21:25
mveRichard MacCutchan19-Feb-15 21:25 
GeneralRe: c# "Object reference not set to an instance of an object." Pin
V.19-Feb-15 21:28
professionalV.19-Feb-15 21:28 
GeneralRe: c# "Object reference not set to an instance of an object." Pin
Richard MacCutchan19-Feb-15 21:40
mveRichard MacCutchan19-Feb-15 21:40 
GeneralRe: c# "Object reference not set to an instance of an object." Pin
V.19-Feb-15 21:46
professionalV.19-Feb-15 21:46 
GeneralRe: c# "Object reference not set to an instance of an object." Pin
Richard MacCutchan19-Feb-15 22:11
mveRichard MacCutchan19-Feb-15 22:11 
SuggestionRe: c# "Object reference not set to an instance of an object." Pin
V.19-Feb-15 22:19
professionalV.19-Feb-15 22:19 
GeneralRe: c# "Object reference not set to an instance of an object." Pin
Eddy Vluggen19-Feb-15 22:29
professionalEddy Vluggen19-Feb-15 22:29 
GeneralRe: c# "Object reference not set to an instance of an object." Pin
V.19-Feb-15 22:39
professionalV.19-Feb-15 22:39 
AnswerRe: c# "Object reference not set to an instance of an object." Pin
mikhail cabliao20-Feb-15 7:25
mikhail cabliao20-Feb-15 7:25 
QuestionMessage Removed Pin
19-Feb-15 8:33
professionalN_tro_P19-Feb-15 8:33 
AnswerRe: Serializable objects into Entity Framework Pin
Gerry Schmitz19-Feb-15 12:55
mveGerry Schmitz19-Feb-15 12:55 
GeneralMessage Removed Pin
19-Feb-15 16:53
professionalN_tro_P19-Feb-15 16:53 
GeneralRe: Serializable objects into Entity Framework Pin
Gerry Schmitz19-Feb-15 17:59
mveGerry Schmitz19-Feb-15 17:59 
GeneralMessage Removed Pin
23-Feb-15 3:55
professionalN_tro_P23-Feb-15 3:55 
GeneralRe: Serializable objects into Entity Framework Pin
Gerry Schmitz23-Feb-15 5:31
mveGerry Schmitz23-Feb-15 5:31 
I don't know what you mean when you say "... EF does not want the whole object but the ID only have the objects.".

EF will generate a primary key for a property that is or ends in "ID".

A relation is simply a statement such as:
public IList<Order> Orders { get; set; }

EF will create (entity model) relationships using the above "ID's" and "relation" statements.

I haven't used "xsd2Code" but when I paste "layered XML" in Visual Studio using Edit | Paste Special | Paste XML as classes, all the "layers" are converted to classes and a corresponding "relation" statement.

I've used the above to generate classes into which XML from 3rd-party web services was de-serialized; with no refactoring needed.
QuestionHow to run a javascript function from a website on C# Program Pin
jairomarcel19-Feb-15 0:47
jairomarcel19-Feb-15 0:47 
Questionmanage network printers Pin
Blue_Boy18-Feb-15 23:19
Blue_Boy18-Feb-15 23:19 
AnswerRe: manage network printers Pin
Mycroft Holmes19-Feb-15 0:33
professionalMycroft Holmes19-Feb-15 0:33 
AnswerRe: manage network printers Pin
Gerry Schmitz20-Feb-15 13:05
mveGerry Schmitz20-Feb-15 13:05 
AnswerRe: manage network printers Pin
Mohammad Reza Valadkhani21-Feb-15 1:53
professionalMohammad Reza Valadkhani21-Feb-15 1:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.