DGC.Data Programmer's Reference

DALFactory Class

A factory class that creates objects that implement the IDal interface.

For a list of all members of this type, see DALFactory Members.

System.Object
   DALFactory

[Visual Basic]
Public Class DALFactory
[C#]
public class DALFactory

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Example

The following sample shows how to use the DALFactory class to get an object that implements the IDal interface.

[Visual Basic] 
    Dim d As DGC.Data.IDal 
    d = DGC.Data.DALFactory.GetDAL(connectionString, databaseType) 

[C#] 
    DGC.Data.IDal d = DGC.Data.DALFactory.GetDAL(connectionString, databaseType) 

Requirements

Namespace: DGC.Data

Assembly: DGC.Data (in DGC.Data.dll)

See Also

DALFactory Members | DGC.Data Namespace