コード例 #1
0
 private void CreateDataBase()
 {
     using (CalendarClassEntitiesDataContext dc = new CalendarClassEntitiesDataContext(conexionString))
     {
         if (!dc.DatabaseExists())
         {
             dc.CreateDatabase();
         }
     }
 }