No announcements
Found 2486545 threads
-
0 Votes
Code-First: NotMappedAttribute ignored on private properties
://connect.microsoft.com/VisualStudio/feedback/details/675167) It should IMO ignore all private properties. It should definitely ignore ...Answered | 3 Replies | 4314 Views | Created by Đonny - Monday, June 13, 2011 1:24 PM | Last reply by Đonny - Thursday, June 30, 2011 8:23 AM -
0 Votes
Strange behavior in EF 4.1 Code First while annotating properties with NotMappedAttribute.
business logic so I implement IDisposable on it. As a result, there is a property public bool Disposed {get; private ...Unanswered | 2 Replies | 2069 Views | Created by Raheel Khan (House of Synergy) - Tuesday, May 1, 2012 12:21 AM | Last reply by Raheel Khan (House of Synergy) - Saturday, August 25, 2012 10:47 PM -
0 Votes
LoadSize ignored on first call ?
Hi, thanks for reply. I am checking from Sql Server Profiler. On first call it selects all (but should "select top 20" as ...Answered | 8 Replies | 11649 Views | Created by habibs - Saturday, March 13, 2010 3:56 AM | Last reply by Min-Hong Tang - MSFT - Monday, March 15, 2010 4:45 AM -
0 Votes
Code-first client-only properties
I've been trying out Code-first CTP 5 and understand that it most likely uses the .NET 4 EF query provider, given it has the same querying ... -
1 Votes
Private properties
Hi All, What is the standard for private properties i.e. variables which are only used inside a class. Which is ...Answered | 1 Replies | 2431 Views | Created by TheLearner - Tuesday, January 6, 2009 2:49 PM | Last reply by David M Morton - Tuesday, January 6, 2009 2:56 PM -
1 Votes
Code First and TimeSpan properties
Hi, TimeSpan properties are stored using the Time data type in MS SQL Server, this was introduced in MS SQL Server 2008 so is not available when running against ...Proposed | 3 Replies | 9728 Views | Created by protokol - Thursday, July 29, 2010 5:26 PM | Last reply by Rowan Miller - Sunday, August 15, 2010 1:42 AM -
1 Votes
Embedded data region properties ignored?
the tablix properties are not ignored by the list. In your scenario, the PageName also display “Bob” in the header. As per my understanding, ...Answered | 1 Replies | 1058 Views | Created by GaryT_Musicman - Wednesday, January 16, 2013 4:16 PM | Last reply by Charlie Liao - Thursday, January 17, 2013 3:08 AM -
0 Votes
Properties versus private fields
Later on, if you'd decide to change private to internal/protected/etc, it would be easy to refactor. How is it easier to refactor fields versus private ...Answered | 8 Replies | 2899 Views | Created by TheLearner - Monday, August 3, 2009 8:49 AM | Last reply by Talal Khan - Monday, August 3, 2009 4:59 PM -
0 Votes
Code First CTP4: Why is the [Required] attribute ignored for reference properties?
property in your class then you could add the [Required] attribute to that, but I can see that allowing it on the actual reference would be useful when you don’t have the ...Proposed | 1 Replies | 5813 Views | Created by Richard Pawson - Tuesday, August 10, 2010 8:16 AM | Last reply by Rowan Miller - Wednesday, August 11, 2010 7:29 PM -
0 Votes
Private auto properties?
I have used properties with private set and protected get on occasions. But if get/set are both private, you might as well use a field.http://blog.voidnish.comAnswered | 11 Replies | 2467 Views | Created by BryanCC - Friday, August 28, 2009 5:35 PM | Last reply by JohnGrove - Friday, August 28, 2009 7:09 PM -
0 Votes
Private Appointment properties
and end then set the rest manually to maintain privacy. Can some please give me a list of the properties that I can access while the appointments are marked ...Answered | 2 Replies | 3197 Views | Created by _Ritchie_ - Thursday, May 31, 2012 3:53 PM | Last reply by _Ritchie_ - Friday, June 1, 2012 9:13 AM -
0 Votes
Private Dependency Properties?
I read the documentation on Dependency Properties, and I know that making one 'private' doesn't accomplish anything except to hide the property from intellisense. ...Answered | 1 Replies | 1222 Views | Created by ktmulcahy - Wednesday, February 23, 2011 10:27 AM | Last reply by Peter Kuhn - Wednesday, February 23, 2011 10:36 AM -
0 Votes
Msgbox code ignored
Can you post the code and explain what you mean by "MsgBox(msg) is completely ignored with no errors"Unanswered | 3 Replies | 600 Views | Created by Bill Havlice - Saturday, November 29, 2014 6:07 PM | Last reply by Doanh, Qh - Monday, December 1, 2014 2:32 PM -
1 Votes
Properties and Private Fields
// A field that's not set to anything (instantiated) in the constructor, or here... private SomeClass theProp;Answered | 5 Replies | 3423 Views | Created by WStoreyII - Saturday, January 22, 2011 7:08 PM | Last reply by Reed Copsey, Jr - Monday, January 24, 2011 7:06 AM -
0 Votes
Generated code ignored
The RIA Link may not really be hooked up and the generated code may really be unlinked files. Try deleting the generated code and see if it comes back. The solution may be ...Answered | 1 Replies | 659 Views | Created by JoePatBaker - Tuesday, March 6, 2012 9:40 AM | Last reply by Colin Blair - Tuesday, March 6, 2012 1:06 PM -
0 Votes
Debug code changes ignored
I have been working on a single form project and everything was going along fine until...? something unknown happened. Any changes I make to the code behind the form ...Answered | 2 Replies | 3626 Views | Created by dwloeb77 - Thursday, July 27, 2006 4:59 PM | Last reply by dwloeb77 - Thursday, July 27, 2006 8:21 PM -
0 Votes
private fields, public properties...why??
changing a bool value to true instead of having it to false (or whatever)? you would be wondering out why on earth it happened or why did they do it - having properties gives you ...Answered | 5 Replies | 3743 Views | Created by IS dude - Monday, December 4, 2006 4:16 AM | Last reply by AdrianJMartin - Monday, December 4, 2006 4:35 PM -
0 Votes
Private fields, properties, and methods
If this is in reference to Sandcastle, you can specify the /internal+ command line option for MRefBuilder to have it generate information on the private members ...Answered | 2 Replies | 4452 Views | Created by a_ Derek Greer _ - Wednesday, September 27, 2006 7:41 PM | Last reply by Anand Raman - MSFT - Wednesday, September 27, 2006 8:21 PM -
1 Votes
private set accessor in properties
private field instead. But for auto-generated properties it is a required field. public string MyProperty { get; private set; ...Answered | 9 Replies | 5964 Views | Created by patelmahesh - Saturday, January 1, 2011 9:00 PM | Last reply by vijaykamat - Tuesday, January 4, 2011 3:31 AM -
0 Votes
public properties versus private members
pretty much all that these private GET/SET methods do. It does for the class internally what exposing the properties does for external classes. In fact, I frequently use ...Answered | 4 Replies | 2920 Views | Created by Veloz - Thursday, December 27, 2007 7:50 PM | Last reply by Rudedog2 - Thursday, December 27, 2007 8:37 PM - Items 1 to 20 of 2486545 Next ›
No announcements