Use the Name property on a DatabaseAttribute attribute to specify the name of a database when a name is not supplied by the connection.
For code samples, see Name.
Add the DatabaseAttribute attribute to the class declaration for the database.
Add the Name property to the DatabaseAttribute attribute.
Set the Name property value to the name that you want to specify.
The LINQ to SQL Object ModelHow to: Customize Entity Classes by Using the Code Editor