Solved

OptionalField attribute for auto properties in c#

Posted on 2011-09-02
3
1,192 Views
Last Modified: 2012-05-12
is there an attibute equivalent to OptionalField for auto properties, or do i have to implement regular properties in order to make them optional?
0
Comment
Question by:mmingfeilam
  • 2
3 Comments
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 36475801
What kind of serialization (e.g. Binary, SOAP, XML) are you doing?
0
 

Accepted Solution

by:
mmingfeilam earned 0 total points
ID: 36569590
just found out this is not possible.
0
 

Author Closing Comment

by:mmingfeilam
ID: 36594724
i just found out via MSDN that this is not possible.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now