public abstract IEnumerable <ObjectState> GetExistingObjects(SchemaConnection connection, ObjectTypeHelper helper);
public new abstract IEnumerable <RootObjectState <TType, TState> > GetExistingObjects(SchemaConnection connection, ObjectTypeHelper helper);
protected IEnumerable <RootObjectState <TType, TState> > GetBasedOnKnownIdentifiers(SchemaConnection connection, ObjectTypeHelper helper, Func <string, RootObjectState <TType, TState> > getEmptyState) { if (!helper.IsStateStorageInitialized) { return(Enumerable.Empty <RootObjectState <TType, TState> >()); } return(connection.ExecuteSql("select name from nrdo_object where type = " + connection.SchemaDriver.QuoteParam("type"), result => getEmptyState(result.GetString("name")), cmd => cmd.SetString("type", "nvarchar", Name))); }
protected sealed override IEnumerable <ObjectState> getExistingObjectsInternal(SchemaConnection connection, ObjectTypeHelper helper) { return(GetExistingObjects(connection, helper)); }