﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - ClientUI - change name of aspnetdb.mdf on silverlight MVVM template</title><link>http://www.intersoftsolutions.com/Community/ClientUI/change-name-of-aspnetdbmdf-on-silverlight-MVVM-template/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>change name of aspnetdb.mdf on silverlight MVVM template</title><link>http://www.intersoftsolutions.com/Community/ClientUI/change-name-of-aspnetdbmdf-on-silverlight-MVVM-template/</link><pubDate>Mon, 04 Oct 2010 06:44:32 GMT</pubDate><dc:creator>niven</dc:creator><description>&lt;p&gt;Hi Richard,&lt;/p&gt;
&lt;p&gt;Please look at the given code below:&lt;/p&gt;&lt;pre&gt;  &amp;lt;connectionStrings&amp;gt;
    &amp;lt;remove name="LocalSqlServer" /&amp;gt;
    &amp;lt;add name="LocalSqlServer" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|YourDataBase.mdf;User Instance=true" providerName="System.Data.SqlClient"/&amp;gt;    
  &amp;lt;/connectionStrings&amp;gt;&lt;/pre&gt;

&lt;p&gt;By implementing the code above, you have to use the same structures as the same as AspNetDB.MDF. If you are using a different structures then you need to make your own services to connect to your MDF.&lt;/p&gt;
&lt;p&gt;Thank you and have a nice day.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Niven Prasetya&lt;/p&gt;</description></item><item><title>change name of aspnetdb.mdf on silverlight MVVM template</title><link>http://www.intersoftsolutions.com/Community/ClientUI/change-name-of-aspnetdbmdf-on-silverlight-MVVM-template/</link><pubDate>Sun, 03 Oct 2010 08:13:40 GMT</pubDate><dc:creator>zen8019</dc:creator><description>&lt;p&gt;&lt;span style="color: rgb(63, 63, 63); font-family: 'segoe ui', arial, verdana, tahoma; font-size: 12px; line-height: 18px; " /&gt;&lt;/p&gt;
&lt;p style="font-family: 'segoe ui', arial, verdana, tahoma; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;Hi&lt;/p&gt;
&lt;p style="font-family: 'segoe ui', arial, verdana, tahoma; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;I am using the Client MVVM Business App template.  How do I change the name of the underlying sql db (aspnetdb.mdf) to another name.  I can't see any references to it in the code.  I want MyDatabase.mdf say to house membership details and my custom/application tables.  &lt;/p&gt;
&lt;p style="font-family: 'segoe ui', arial, verdana, tahoma; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;(previously posted in a different thread)&lt;/p&gt;
&lt;p style="font-family: 'segoe ui', arial, verdana, tahoma; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;Thanks&lt;/p&gt;
&lt;p /&gt;</description></item></channel></rss>