技术改变世界 阅读塑造人生! - shaogx.com

This string was altered by TechBlog\Plugins\Example.; This is an example to show the potential of an offcanvas layout pattern in Bootstrap. Try some responsive-range viewport sizes to see it in action.

初探SQL Server CE + Codesmith用法

硬盘坏了也是一种契机,我突然想到了SQL Server还有一个CE版本,现在不止提供For Mobile的,还提供桌面版.这种可爱的嵌入式数据库可比没意思的Access好得多了. 这东西虽然没store function(其实有ORM基本没必要用),但是索引啊,表关系啊还是很全面的.微软的东西就是好,造福全懒人嘛..... 全文

微软 SQL Server CE Codesmith

从Pocket Access向SQL Server CE进行数据库迁移

window.location.href='http://www.microsoft.com/china/MSDN/library/Mobility/pocketpc/PToSQLServerCE.mspx?mfr=true';给力(0票)动心(0票)废话(0票)专业(0票)标题党(0票)路过(0票) getcountscom(38729,11); getcountscom(38729,12); getcountscom(38729,13); getcountscom(38729,14); getcountscom(38729,15); getcountscom(38729,16); ... 全文

Pocket Access SQL Server CE 数据库 迁移

Windows Phone 7 本地数据库SQL Server CE(芒果更新)

在Windows Phone的第一个版本7.0版本里面是没有本地数据库支持的,要使用数据库只能够使用第三方的数据库组件。Windows Phone的本地数据库SQL Server CE是7.1版本即芒果更新的新特性,所以你要在应用程序中使用SQL Server CE数据库必须使用Windows Phone 7.1的API才行。下面用一个实例演示如何使用SQL Server CE数据库。(1)创建数据表以及数据库的数据上下文DateContent先创建一个员工信息表,用于保存员工的名字和简介,员工表有一个自增的ID。EmployeeTable.csusing System.Data.Linq.Mapping;  using System.ComponentModel;   namespace SQLServerDemo  {      [Table]      public class EmployeeTable : INotifyPropertyChanged, INotifyPropertyChanging      {          // 定义员工表独立增长ID,设置为主键          private int _employeeId;           [Column(IsPrimaryKey = true, IsDbGenerated = true, DbType = "INT NOT NULL Identity", CanBeNull = false, AutoSyncAutoSync = AutoSync.OnInsert)]          public int EmployeeID          {              get              {                  return _employeeId;              }              set              {                  if (_employeeId != value)                  {                      NotifyPropertyChanging("EmployeeID");                      _employeeId = value;                      NotifyPropertyChanged("EmployeeID");                  }              }          }           // 定义员工名字字段          private string _employeeName;           [Column]          public string EmployeeName          {              get              {                  return _employeeName;              }              set              {                  if (_employeeName != value)                  {                      NotifyPropertyChanging("EmployeeName");                      _employeeName = value;                      NotifyPropertyChanged("EmployeeName");                  }              }          }           //定义员工简介字段          private string _employeeDesc;           [Column]          public string EmployeeDesc          {              get              {                  return _employeeDesc;              }              set              {                  if (_employeeDesc != value)                  {                      NotifyPropertyChanging("EmployeeDesc");                      _employeeDesc = value;                      NotifyPropertyChanged("EmployeeDesc");                  }              }          }           #region INotifyPropertyChanged Members           public event PropertyChangedEventHandler PropertyChanged;           //用来通知页面表的字段数据产生了改变          private void NotifyPropertyChanged(string propertyName)          {              if (PropertyChanged != null)              {                  PropertyChanged(this, new PropertyChangedEventArgs(propertyName));              }          }           #endregion           #region INotifyPropertyChanging Members           public event PropertyChangingEventHandler PropertyChanging;           // 用来通知数据上下文表的字段数据将要产生改变          private void NotifyPropertyChanging(string propertyName)          {              if (PropertyChanging != null)              {                  PropertyChanging(this, new PropertyChangingEventArgs(propertyName));              }          }           #endregion       }  }  ... 全文

数据库 Windows Phone 7 SQL Server CE

1