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.

DatabaseAttribute::Name Property

 

Gets or sets the name of the database.

Namespace:   System.Data.Linq.Mapping
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

public:
property String^ Name {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The name.

This property is required if you use the DatabaseAttribute attribute.

The information is used only if the connection itself does not specify the database name.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top
Show:
© 2017 Microsoft