Good morning, I'm new to the C # programming world and so I had some problems compiling a project for visual studio for mac . The problem was as follows, the project uses the nHibernate version 4.0.3 to do the database persistence, and when c...
I'm using NHibernate to do a sql query in C #, however I have a question.
I have the following structure:
public class Pessoa {
public long Id {get; set;}
public string Nome {get; set;}
}
public class Usuario {
public long Id { //...
I'm working on an application with N Hibernate and Fluent NHibernate. I'm having problems with the settings of my App.config . I do not know exactly what's wrong with my settings.
I'm getting this Exception:
NHibernate.HibernateExcepti...
When you select the value and I'm going to register, it tells me an error.
System.ArgumentException: The value "System.Object []" is not of type "BlogWeb.Models.Compra" and can not be used in this generic collection.
Parameter name: valu...
Personal I'm trying to do a stock control, my idea is when I consume a product it changes in the table.
Ex:
Estoque:
Produto / Quant
Caneta /5
Papel / 10
Lapis / 20
But when I separate these items for some segments in the company
Segme...
How do I leave the values as value in Reais, not a common number.
Ineedthesevaluestobe2.00,ifpossible,leave$2.00MyController:publicActionResultAdiciona(AbastecimentoModelviewModel){viewModel.TotalGasto=viewModel.Litro*viewModel.VlrUnit;if(Mo...
I have a problem with my return from the query.
public IList<Rota> Lista()
{
//* string hql = "SELECT * FROM Rota WHERE ORDER BY Km_Atual ASC";
string hql = "SELECT Km_Atual, MAX(DtLancamento) FROM Rota GROUP BY I...
Good afternoon, at the time I try to register in the form, I program in C # language with asp.net, razor and NHibernate.
This is my DAO
public IList<Rota> Comparacao()
{
//*string hql = "Select p from Rota p";...
I have a website that uses FluentNhibernate and now I have uploaded this site to the provider but when I try to open the site it shows me some FluentNhibernate Exceptions. This site, on my computer, works very well without any problem, but the p...