Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EntityPropertyMappingAttribute::TargetNamespacePrefix Property

 

Gets a string value that, together with TargetNamespaceUri, specifies the namespace in which the TargetPath element exists.

Namespace:   System.Data.Services.Common
Assembly:  System.Data.Services.Client (in System.Data.Services.Client.dll)

public:
property String^ TargetNamespacePrefix {
	String^ get();
}

Property Value

Type: System::String^

String value that contains the target namespace prefix.

If neither TargetNamespacePrefix nor TargetNamespaceUri are specified, the TargetPath will be put in the default namespace. If TargetNamespacePrefix is not specified, a prefix is autogenerated. If TargetNamespacePrefix is specified, but TargetNamespaceUri is not specified, an exception is thrown at construction time.

.NET Framework
Available since 3.5
Silverlight
Available since 4.0
Return to top
Show:
© 2017 Microsoft