Questions tagged [conform]

Conform is a tool for Elixir. It is used to create simplified configuration files.

23 questions
6
votes
3 answers

NHibernate relationship has an issue with two-directional getting data

I have 2 tables which have many-to-many relation. Code of entities public class Product : BaseEntity { public virtual string Name { get; set; } public virtual IList ProductCategory { get; set; } public virtual float Price…
Evgeniy
  • 108
  • 5
5
votes
1 answer

Is there a way to make conform work during development?

I have Conform configuration working in a Phoenix app. This requires an exrm release. For development purposes we want to use the same configuration technique, but without generating a release every time we make changes. Is there a way to use…
Brandon Joyce
  • 3,100
  • 24
  • 25
4
votes
2 answers

"Unable to find the requested .Net Framework Data Provider" after update to NHibernate 3.2

I use NHibernate 3.1 and I updated to version 3.2. Also I use confOrm 1.0.1.5 and I update to 2.0.0.0vVersion. My version of Firebird NET Provider is 2.7. I do some modifications of my code because confOrm doesn't contain ConfOrm.Mapper anymore.…
Andrey
  • 2,485
  • 3
  • 21
  • 26
4
votes
2 answers

How to map a view without an identity column in NHibernate?

I have a view that I am going to only read from (no writes). This view does not have any unique key (not event composite). So how can I map this view in NHibernate without touching the view? I do not want to add a new column to the view to generate…
kaptan
  • 3,060
  • 5
  • 34
  • 46
4
votes
1 answer

Extend/Modify NHibernate classes at runtime

Apologies if there's an on point answer already out there but I haven't found it. I'm using NH3 and I've got a use case where I want to add a Set onto any entity who's class implements a specific interface. I have a configuration builder class so I…
3
votes
1 answer

ConfORM Nhibernate OneToManyKeyColumnApplier Problem

I am using ConfORM Nhibernate in one of my MVC project. And had problem with One to Many Mappings. IEnumerable domainEntities = this.GetDomainEntities(); var relationalMapper = new ObjectRelationalMapper(); …
Ivan Korytin
  • 1,832
  • 1
  • 27
  • 41
2
votes
1 answer

Linq to Nhibernate strange behaviour

I have a table fill query, which have to get all references entities. I have client: public class Client { public virtual int Id { get; set; } public virtual ICollection
Addresses { get; protected set; } public virtual Address…
Ivan Korytin
  • 1,832
  • 1
  • 27
  • 41
2
votes
1 answer

How to implement .ChildWhere() mapping with many-to-many relation in NH 3.2

I have following FNH mapping: public class ItemMap : ClassMap { public ItemMap () { this.HasManyToMany(a => a.ChildItems).ChildWhere("IsDeleted = 0").AsSet(); } } Result hbm file is:
2
votes
1 answer

Mapping NHibernate with confORM

I have 2 classes (summarized for brevity) : public class Product : Entity { ... public virtual IList Ingredients { get; set; } public Product(){Ingredients = new List();} …
Tekno
  • 193
  • 1
  • 1
  • 11
2
votes
1 answer

How to use sql query in nhibernate ConfORM

How can I join two tables from different dataases using nhibernate ConfORM or at least write sql query in nhibernate ConfORM? This is the query which I need to run: select RTRIM(l.descr) as affiliation, a.LocationId from Facilities a join…
Alexey G.
  • 360
  • 7
  • 15
2
votes
1 answer

ConfORM Nhibernate OneToMany Cascade

I have some problem with Nhibernate ConfORM cascade. Exist two entities: public class User : BaseEntity { public User(Role role) { this.Role = role; } protected User() { } public…
Ivan Korytin
  • 1,832
  • 1
  • 27
  • 41
1
vote
1 answer

How does fetch work

Possible Duplicate: NHibernate Join Fetch(Kind) I have read article. http://fabiomaulo.blogspot.com/2010/03/conform-mapping-components.html Tried to reproduce it on my project and got strange behavioral. I have two entites: Plan { public…
Ivan Korytin
  • 1,832
  • 1
  • 27
  • 41
1
vote
1 answer

How we can fetch more than one grandchild collections

I have this table structure: ReferralSource - main table -Phone - join table Rs as one-to-one - Carrier - child table for Phone - Type - child table for Phone I want to get it by Linq…
Ivan Korytin
  • 1,832
  • 1
  • 27
  • 41
1
vote
1 answer

NHibernate 3.2 conform composite id

I am upgrading to NHibernate 3.2. I was using Fluent NHibernate but I don't see a new build for NH 3.2. I am looking at using the included Conform mapper but it does not appear to allow for a composite id. I can't change the database so I have a…
Paul Speranza
  • 2,302
  • 8
  • 26
  • 43
1
vote
1 answer

phoenix framework deployment issue

I am trying to deploy a Phoenix app using exrm and conform. Testing the release on local Ubuntu works. But when i run the same on server there is failure. I am not able to understand the exact cause. {error_logger,{{2016,1,30},{7,45,44}},"Protocol:…
pra
  • 343
  • 1
  • 3
  • 16
1
2