Ejemplo n.º 1
0
 public abstract IEnumerable <ObjectState> GetExistingObjects(SchemaConnection connection, ObjectTypeHelper helper);
Ejemplo n.º 2
0
 public new abstract IEnumerable <RootObjectState <TType, TState> > GetExistingObjects(SchemaConnection connection, ObjectTypeHelper helper);
Ejemplo n.º 3
0
        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)));
        }
Ejemplo n.º 4
0
 protected sealed override IEnumerable <ObjectState> getExistingObjectsInternal(SchemaConnection connection, ObjectTypeHelper helper)
 {
     return(GetExistingObjects(connection, helper));
 }