var et = new EntityTransform();

et.SrcConn = "YuanKu";

et.DesConn = "mubiaoku";

et.AllowInsertIdentity = true;

foreach (var item in EntityFactory.LoadEntities(et.SrcConn, true)) 
{
var eop = EntityFactory.CreateOperate(item);
et.TransformTable(eop);
}

 

posted on 2015-04-02 08:06  NetBlaze  阅读(320)  评论(0编辑  收藏  举报