Click here to Skip to main content
15,887,175 members
Home / Discussions / C#
   

C#

 
QuestionAutomation InternetExplorer, i am getting crazy! Pin
Laaky25-Nov-11 23:03
Laaky25-Nov-11 23:03 
Questionhelp me: problem with remoting Library Pin
kornkimhour25-Nov-11 21:34
kornkimhour25-Nov-11 21:34 
AnswerRe: help me: problem with remoting Library Pin
Richard MacCutchan25-Nov-11 22:27
mveRichard MacCutchan25-Nov-11 22:27 
GeneralRe: help me: problem with remoting Library Pin
kornkimhour26-Nov-11 3:05
kornkimhour26-Nov-11 3:05 
GeneralRe: help me: problem with remoting Library Pin
Richard MacCutchan26-Nov-11 3:57
mveRichard MacCutchan26-Nov-11 3:57 
Questionhelp me: Problem connection string object and class object when passing cross exe C# Pin
kornkimhour25-Nov-11 15:24
kornkimhour25-Nov-11 15:24 
Answercross post Pin
Not Active25-Nov-11 17:40
mentorNot Active25-Nov-11 17:40 
QuestionAdding Entity Framework 4.1 object to central database / key collisions Pin
Jfalconsfaner25-Nov-11 4:14
Jfalconsfaner25-Nov-11 4:14 
I am uploading entities from one database to an identical one via a web service. The problem is that there are multiple copies of the database on multiple clients and this causes key collisions since we are using identity fields. For example, two identical tables will both have a key of "1". I am stuck with this schema, I'm afraid, so creating composite keys that would include an uploadclient key is not an option.

The central db is the same as the client databases, and is just intended to store all of the data from the upload clients.

I am writing LOTS of code that basically takes in an uploaded entity and creates a new one, then copies all of the properties into a new object before saving that new one to the database. This appears to be the only way to insert them with new keys since I can't use the key value of the uploaded object.

Given the constraints, does this sound like the best option? It's working fine, it is just a lot of code to type and I thought I would get some different views before I commit too much time to this.
AnswerRe: Adding Entity Framework 4.1 object to central database / key collisions Pin
SilimSayo25-Nov-11 6:25
SilimSayo25-Nov-11 6:25 
AnswerRe: Adding Entity Framework 4.1 object to central database / key collisions Pin
phil.o25-Nov-11 13:06
professionalphil.o25-Nov-11 13:06 
GeneralRe: Adding Entity Framework 4.1 object to central database / key collisions Pin
Jfalconsfaner28-Nov-11 4:25
Jfalconsfaner28-Nov-11 4:25 
Questiondocking control Pin
kornkimhour25-Nov-11 3:03
kornkimhour25-Nov-11 3:03 
AnswerRe: docking control Pin
PIEBALDconsult25-Nov-11 4:52
mvePIEBALDconsult25-Nov-11 4:52 
GeneralRe: docking control Pin
kornkimhour25-Nov-11 5:03
kornkimhour25-Nov-11 5:03 
AnswerRe: docking control Pin
BillWoodruff25-Nov-11 6:19
professionalBillWoodruff25-Nov-11 6:19 
AnswerRe: docking control Pin
JF201525-Nov-11 7:55
JF201525-Nov-11 7:55 
GeneralRe: docking control Pin
kornkimhour25-Nov-11 14:50
kornkimhour25-Nov-11 14:50 
Answermy vote of #1 : Re: docking control ... aka 'cdz-plz' Pin
BillWoodruff25-Nov-11 22:36
professionalBillWoodruff25-Nov-11 22:36 
GeneralRe: my vote of #1 : Re: docking control ... aka 'cdz-plz' Pin
kornkimhour26-Nov-11 1:40
kornkimhour26-Nov-11 1:40 
QuestionFloating Value by Dividing in a DataGridView ! Pin
nassimnastaran25-Nov-11 0:24
nassimnastaran25-Nov-11 0:24 
AnswerRe: Floating Value by Dividing in a DataGridView ! Pin
Pete O'Hanlon25-Nov-11 0:29
mvePete O'Hanlon25-Nov-11 0:29 
GeneralRe: Floating Value by Dividing in a DataGridView ! Pin
nassimnastaran25-Nov-11 0:37
nassimnastaran25-Nov-11 0:37 
AnswerRe: Floating Value by Dividing in a DataGridView ! Pin
Wayne Gaylard25-Nov-11 0:32
professionalWayne Gaylard25-Nov-11 0:32 
GeneralRe: Floating Value by Dividing in a DataGridView ! Pin
nassimnastaran25-Nov-11 0:39
nassimnastaran25-Nov-11 0:39 
AnswerRe: Floating Value by Dividing in a DataGridView ! Pin
Luc Pattyn25-Nov-11 1:43
sitebuilderLuc Pattyn25-Nov-11 1:43 

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.