示例#1
0
    protected virtual void Dispose(bool disposing)
    {
        if (disposed)
        {
            return;
        }

        if (disposing)
        {
            // free other managed objects that implement
            // IDisposable only

            if (OVdata != null)
            {
                OVdata.Dispose();
            }
        }

        // release any unmanaged objects
        // set the object references to null

        OVdata = null;

        disposed = true;
    }
示例#2
0
    void LoadOVData()
    {
        OVdata = new OpenVGDBEntities();

        OVdata.VGDBPlatforms.Load();
        OVdata.VGDBReleaseS.Load();
        OVdata.VGDBROMS.Load();
        OVdata.VGDBREGIONS.Load();
    }