Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

XPObjectSource.ConnectionStringName Property

Specifies the name of the connection string used to connect to a database. The specified name should exist in the application configuration file.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

[DefaultValue(null)]
[TypeConverter("DevExpress.DataAccess.Design.XPObjectSourceConnectionStringNameTypeConverter,DevExpress.DataAccess.v19.2, Version=19.2.99.0, Culture=neutral, PublicKeyToken=c38a27d2243c2672")]
public string ConnectionStringName { get; set; }

Property Value

Type Default Description
String *null*

A String specifying the name of a the connection string.

Remarks

This property has effect if a Session object is not created in the XPObjectSource.ResolveSession event handler.

See Also