entity framework get connection string

pre: factory method
next: primary key unique