void Constraint::InitSerializable() { XS_SERIALIZE(m_name, wxT("name")); XS_SERIALIZE(m_localColumn, wxT("localColumn")); XS_SERIALIZE_INT(m_type, wxT("type")); XS_SERIALIZE(m_refTable, wxT("refTable")); XS_SERIALIZE(m_refCol, wxT("refCol")); XS_SERIALIZE_INT(m_onDelete,wxT("onDelete")); XS_SERIALIZE_INT(m_onUpdate,wxT("onUpdate")); }
ErdInfo::ErdInfo(const ErdInfo& obj) { m_adapterType = obj.m_adapterType; XS_SERIALIZE_INT(m_adapterType, wxT("adapter_type")); }
ErdInfo::ErdInfo() { m_adapterType = IDbAdapter::atUNKNOWN; XS_SERIALIZE_INT(m_adapterType, wxT("adapter_type")); }