예제 #1
0
            public void Dispose()
            {
                if (TableExists != null)
                {
                    TableExists.Dispose();
                    TableExists = null;
                }

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

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

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

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

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

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

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