Top "System.componentmodel" questions

The System.

How do I specify the maximum column length of a field using entity framework code first

Is there an attribute I can use when creating a table ? I tried [StringLength] but it seems to be ignored. …

c# .net entity-framework entity-framework-5 system.componentmodel
How to add property-level Attribute to the TypeDescriptor at runtime?

I want to add some custom PropertyGrid-centric Attributes to the object's properties, to provide richer editing, hide some values and …

c# .net propertygrid system.componentmodel typedescriptor
When and why we should to use class System.ComponentModel.Container?

Is anybody could explain when and why we should use System.ComponentModel.Container, please? Recently I have met using of …

c# system.componentmodel
Get Description Attributes From a Flagged Enum

I am trying to create an extension method that will return a List<string> containing all the Description …

c# reflection enums system.componentmodel
What is AggregateCatalog?

What is AggregateCatalog? What does it mean when you construct a new AggregateCatalog()? What does it mean when you add …

c# .net mef catalog system.componentmodel
Linq expressions and extension methods to get property name

I was looking at this post that describes a simple way to do databinding between POCO properties: Data Binding POCO …

c# .net data-binding poco system.componentmodel
What is the difference between IEditableObject and IRevertibleChangeTracking?

What is the difference between IEditableObject and IRevertibleChangeTracking (both from the System.ComponentModel namespace)? It looks as if the first …

c# .net vb.net system.componentmodel componentmodel
Is it possible to add custom properties to c# enum object?

Using c# Is it possible using to associate properties for each enum items? I have used the Description Attribute to …

c# enums system.componentmodel