예제 #1
0
 /// <exception cref="System.IO.IOException"></exception>
 public virtual void RenameClass(string fullClassName, string newFullClassName)
 {
     NeoDatis.Odb.Core.Layers.Layer2.Meta.MetaModel metaModel = storageEngine.GetSession
                                                                    (true).GetMetaModel();
     NeoDatis.Odb.Core.Layers.Layer2.Meta.ClassInfo ci = metaModel.GetClassInfo(fullClassName
                                                                                , true);
     ci.SetFullClassName(newFullClassName);
     storageEngine.GetObjectWriter().UpdateClassInfo(ci, true);
 }