Click here to Skip to main content
15,890,399 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Define a property on 2 partial classes ? Pin
satc8-Jun-15 10:00
satc8-Jun-15 10:00 
GeneralRe: Define a property on 2 partial classes ? Pin
Sascha Lefèvre8-Jun-15 18:32
professionalSascha Lefèvre8-Jun-15 18:32 
GeneralRe: Define a property on 2 partial classes ? Pin
satc8-Jun-15 19:59
satc8-Jun-15 19:59 
GeneralRe: Define a property on 2 partial classes ? Pin
Sascha Lefèvre8-Jun-15 20:15
professionalSascha Lefèvre8-Jun-15 20:15 
QuestionVisual Basic problem Pin
Member 113991345-Jun-15 23:09
Member 113991345-Jun-15 23:09 
AnswerRe: Visual Basic problem Pin
Dave Kreskowiak6-Jun-15 4:12
mveDave Kreskowiak6-Jun-15 4:12 
AnswerRe: Visual Basic problem Pin
Mycroft Holmes7-Jun-15 14:37
professionalMycroft Holmes7-Jun-15 14:37 
QuestionI have problems when implementing INotifyPropertyChanged on Entity framework Pin
satc5-Jun-15 17:18
satc5-Jun-15 17:18 
Hello !
I'm using entity framework 6.0 , DBContext ,Database First.
I have created the model form an existing database using step by step wizard.

In some classes , I need to implement INotifyPropertyChanged , so I have created some partial classes ( outside the model class files ).
Everyhting is working , but I have problems when I change something on database and I need to update the model from database.

Because the model is recreated with all classes , and I get errors like this :

Error 103 'Public Property dt1 As Date' has multiple definitions with identical signatures.

So I have to manually delete all the duplicates from model classes and to keep those in partial classes where I have implement INotifyPropertyChanged.

But if I update again the model , the classes are recreated again , and I have the same problem.

Is there any way to resolve this problem?
Thank you !

AnswerRe: I have problems when implementing INotifyPropertyChanged on Entity framework Pin
Dave Kreskowiak6-Jun-15 4:09
mveDave Kreskowiak6-Jun-15 4:09 
Questionvb.net visibility o form objects Pin
classy_dog5-Jun-15 11:04
classy_dog5-Jun-15 11:04 
AnswerRe: vb.net visibility o form objects Pin
Richard MacCutchan5-Jun-15 21:25
mveRichard MacCutchan5-Jun-15 21:25 
GeneralRe: vb.net visibility o form objects Pin
classy_dog8-Jun-15 5:06
classy_dog8-Jun-15 5:06 
GeneralRe: vb.net visibility o form objects Pin
Richard MacCutchan8-Jun-15 5:34
mveRichard MacCutchan8-Jun-15 5:34 
Questionhow to get internet time using http request Pin
Member 107622705-Jun-15 1:34
Member 107622705-Jun-15 1:34 
AnswerRe: how to get internet time using http request Pin
Richard MacCutchan5-Jun-15 2:32
mveRichard MacCutchan5-Jun-15 2:32 
AnswerRe: how to get internet time using http request Pin
Richard Deeming5-Jun-15 2:34
mveRichard Deeming5-Jun-15 2:34 
QuestionCopying data between to SQL Servers Pin
Member 117439064-Jun-15 23:26
Member 117439064-Jun-15 23:26 
AnswerRe: Copying data between to SQL Servers Pin
Eddy Vluggen5-Jun-15 0:35
professionalEddy Vluggen5-Jun-15 0:35 
QuestionExcel 2013 VBA - Secure Website Login Pin
Member 110154484-Jun-15 8:07
Member 110154484-Jun-15 8:07 
AnswerRe: Excel 2013 VBA - Secure Website Login Pin
Member 110154488-Jun-15 7:52
Member 110154488-Jun-15 7:52 
QuestionRe: Excel 2013 VBA - Secure Website Login Pin
Member 110154489-Jun-15 12:09
Member 110154489-Jun-15 12:09 
QuestionHTML Textbox Pin
Member 117418844-Jun-15 7:46
Member 117418844-Jun-15 7:46 
SuggestionRe: HTML Textbox Pin
Richard Deeming5-Jun-15 1:20
mveRichard Deeming5-Jun-15 1:20 
Questionvb.net 2010 startup form for desktop application Pin
dcof4-Jun-15 5:47
dcof4-Jun-15 5:47 
AnswerRe: vb.net 2010 startup form for desktop application Pin
Eddy Vluggen4-Jun-15 10:07
professionalEddy Vluggen4-Jun-15 10:07 

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.