fabriciomrtnz / fnhmvc Goto Github PK
View Code? Open in Web Editor NEWArchitectural foundation for building maintainable web applications with C#, ASP.NET, MVC, Fluent NHIbernate and Autofac.
Architectural foundation for building maintainable web applications with C#, ASP.NET, MVC, Fluent NHIbernate and Autofac.
I change configure functional to MySQL DB but can not
Code:
return Fluently.Configure()
.Database(MySqlConfiguration.Standard.ConnectionString(c => c.FromConnectionStringWithKey("ConnString")))
.Mappings(m => m.FluentMappings.AddFromAssemblyOf());
I newbie to use FNHMVC I got error CS0103: The name 'MySqlConfiguration' does not exist in the current context
Please help!
Hi,
I enabled to save the command object. But I couldn't get ID value after saved the command.
IEnumerable<ValidationResult> error = commandBus.Validate(command); ModelState.AddModelErrors(error); if (ModelState.IsValid) { var result = commandBus.Submit(command);
I would like to get the ID from the command object. How can I change the code in which part.
Thanks
Win
Dear!
I got a message at runtime when system load
return Fluently.Configure()
.Database(MySQLConfiguration.Standard.ConnectionString(c => c.FromConnectionStringWithKey(ConnString)))
.Mappings(m => m.FluentMappings.AddFromAssemblyOf())
.Mappings(m => m.FluentMappings.AddFromAssemblyOf());
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
Additional information: Could not load file or assembly 'NHibernate.XmlSerializers, Version=3.3.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4' or one of its dependencies. The system cannot find the file specified.
Please help me!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.