public void multiDatabase() { TOtherDB obj = new TOtherDB { Name = "sunwen", Age = 18 }; obj.insert(); TOtherDB objNew = TOtherDB.find("").first(); Assert.IsNotNull(objNew); Assert.AreEqual("sunwen", objNew.Name); }
public void multiDatabase() { TOtherDB obj = new TOtherDB { Name = "sunwen", Age = 18 }; obj.insert(); TOtherDB objNew = TOtherDB.find( "" ).first(); Assert.IsNotNull( objNew ); Assert.AreEqual( "sunwen", objNew.Name ); }