Connection to Read-only embedded SQL Server compact edition (.sdf file) in WPF application
问题 I am looking for a solution to the following: Find a properly formatted connection string to SQL server compact edition file (.sdf) used as embedded resource, containing reference (i.e. read-only) data in WPF application. Note: please pay attention to the operative words [ Build Action ] set to " Embedded Resource " and " Do Not Copy " to the output directory settings. It means that the file will not be physically copied to the target computer as a stand-alone entity, but instead is embedded