public StoreRoomMissing ( ClassMapping mapping ) : bool | ||
mapping | ClassMapping | |
return | bool |
public override bool StoreRoomMissing(ClassMapping mapping)
{
int count = SqlConnectionUtilities.XSafeIntQuery(_connDesc,
"SELECT COUNT(*) FROM sqlite_master where type = 'table' and name = '" +
mapping.Table + "'", null);
return count == 0;
}