Sorry Fabio to repeat the question. I wanted to read more thoughts on that
On 26 mayo, 21:28, Fabio Maulo <[email protected]> wrote: > The question is the same done in the Spanish group and the answer is the > same.Resuming here > IEntityPersister > (ISessionFactoryImplementor)sessionFactory.GetEntityPersister(string > entityName) > where entityName is the FullName of your class > to get values > select e.id from Entity e (note "id" in lower case) > > To have more info about the schema (for not mapped "things"): > IDataBaseSchema GetDataBaseSchema(DbConnection connection) > dialect = Dialect.Dialect.GetDialect(connectionProperties); > IDictionary<string, string> props = new Dictionary<string, > string>(dialect.DefaultProperties); > foreach (var prop in connectionProperties) > { > props[prop.Key] = prop.Value;} > > connectionHelper = new ManagedProviderConnectionHelper(props); > connectionHelper.Prepare(); > DbConnection connection = connectionHelper.Connection; > meta = new DatabaseMetadata(connection, dialect, false); > examples available in SchemaUpdate or SchemaValidator (there you can find > all work done) > > -- > Fabio Maulo > > P.S. where I should send the invoice ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
