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