tagged [mapping]
Elasticsearch : Root mapping definition has unsupported parameters index : not_analyzed
Elasticsearch : Root mapping definition has unsupported parameters index : not_analyzed Hi all I am trying to create schema Test. ``` PUT /test { "mappings": { "field1": { "type": "integer...
- Modified
- 20 Jul at 23:7
AutoMapper generic mapping
AutoMapper generic mapping I have searched on Stack Overflow and googled about it but I haven't been able to find any help or suggestion on this. I have a class like the following which create a `Page...
- Modified
- 2 Aug at 16:10
Keep enum-to-object mapping with enum class?
Keep enum-to-object mapping with enum class? I frequently need a global hard-coded mapping between an enum and another object (a string in this example). I want to co-locate the enum and mapping defin...
- Modified
- 24 Apr at 23:34
Mapping C# object to BsonDocument
Mapping C# object to BsonDocument I am relatively new to MongoDB. I have an object with the following definition ``` [BsonDiscriminator("user")] public Class BrdUser { [BsonId(IdGenerator = typeof(S...
- Modified
- 18 Mar at 05:13
ViewModel objects to EF model entities conversion where?
ViewModel objects to EF model entities conversion where? I currently have a repository based on Entity Framework v4 entities (CRUD and GET operations implemented). I'm in the process of creating the c...
- Modified
- 18 Jan at 17:15
AutoMapper: Why is UseValue only executed once
AutoMapper: Why is UseValue only executed once Why is only executed once? I need to call the TeamRepository for each request. How can I achieve this? Mapping from to ``` CreateMap() .ForMember(x => ...
- Modified
- 11 Jan at 21:27
AutoMapper - how to use custom value resolver inside custom type converter
AutoMapper - how to use custom value resolver inside custom type converter How can I use custom value resolvers inside custom type converter? Currently, it seems to me hard to achieve. Do you know a w...
- Modified
- 9 Aug at 10:48
Mapping static file directories in ServiceStack
Mapping static file directories in ServiceStack I'm building a self-host application in C# using Service Stack. I'd like the application to share content based on some configuration data. During I'd l...
- Modified
- 6 Jan at 16:28
Using AutoMapper to map the property of an object to a string
Using AutoMapper to map the property of an object to a string I have the following model: I want to be able to use AutoMapper to map the `Name` property of the `Tag` type to a string property in one o...
- Modified
- 25 Jun at 12:51
Separating concerns with Linq To SQL and DTO's
Separating concerns with Linq To SQL and DTO's I recently started a new webforms project and decided to separate the business classes from any DBML references. My business layer classes instead access...
- Modified
- 27 Apr at 18:39
NHibernate DuplicateMappingException when two classes have the same name but different namespaces
NHibernate DuplicateMappingException when two classes have the same name but different namespaces I have a class in my domain model root that looks like this: I also have another class with the same n...
- Modified
- 20 Jul at 22:19
nHibernate, No row with the given identifier exists
nHibernate, No row with the given identifier exists I have a mapping along the lines of this. ```
- Modified
- 30 Mar at 03:37
Entity Framework error - Error 11009: Property ' ' is not mapped
Entity Framework error - Error 11009: Property ' ' is not mapped To improve an older project I am forced by the circumstances to use VS 2008 and Framework 3.5 - I have issues with the edmx showing biz...
- Modified
- 18 Jun at 08:46
How do you make NHibernate ignore a property in a POCO
How do you make NHibernate ignore a property in a POCO We have POCO, something like: And the corresponding hbm file as ```
- Modified
- 27 Apr at 18:0
Combine GET and POST request methods in Spring
Combine GET and POST request methods in Spring I have a resource that supports both `GET` and `POST` requests. Here a sample code for a sample resource: ``` @RequestMapping(value = "/books", method = ...
- Modified
- 12 Sep at 20:49
Domain Driven Design, .NET and the Entity Framework
Domain Driven Design, .NET and the Entity Framework I'm new to domain driven design but want to learn it and use it for a new application. I will be using Entity Framework for data access. The basic l...
- Modified
- 16 Jan at 20:59
What are the different approaches to Object-Object mapping in .NET?
What are the different approaches to Object-Object mapping in .NET? I'm needing to do some mapping between objects (e.g. PersonModel to PersonViewModel) and am researching on the different approaches ...
- Modified
- 23 May at 10:33
How to ignore null values for all source members during mapping in Automapper 6?
How to ignore null values for all source members during mapping in Automapper 6? I've been looking everywhere: stackoverflow, automapper documentation, internets and just couldn't find any info on thi...
- Modified
- 23 May at 10:31
Anyone know of any decent resources on Stored Procedures for Fluent Nhibernate 1.1
Anyone know of any decent resources on Stored Procedures for Fluent Nhibernate 1.1 A recent release of Fluent Nhibernate (1.1) now supports stored procedures. I was wondering if anyone out there has f...
- Modified
- 23 May at 10:32
Hibernate - A collection with cascade=”all-delete-orphan” was no longer referenced by the owning entity instance
Hibernate - A collection with cascade=”all-delete-orphan” was no longer referenced by the owning entity instance I'm having the following issue when trying to update my entity: I have a parent entity ...
- Modified
- 27 Feb at 09:56
How to implement correctly IUserType?
How to implement correctly IUserType? I need to create a [custom type](https://www.hibernate.org/hib_docs/nhibernate/1.2/reference/en/html/mapping.html#mapping-types-custom) for [NHibernate](https://w...
- Modified
- 12 Apr at 09:3
Entity Framework 4.1 InverseProperty Attribute and ForeignKey
Entity Framework 4.1 InverseProperty Attribute and ForeignKey I will create two references between Employee and Team entities with foreign keys. So I defined two entities as follow ``` public class Em...
- Modified
- 28 May at 16:52
How can I mark a foreign key constraint using Hibernate annotations?
How can I mark a foreign key constraint using Hibernate annotations? I am trying to use Hibernate annotation for writing a model class for my database tables. I have two tables, each having a primary ...
- Modified
- 27 Oct at 13:13
AutoMapper: What is the difference between ForMember() and ForPath()?
AutoMapper: What is the difference between ForMember() and ForPath()? I am reading AutoMapper's `ReverseMap()` and I can not understand the difference between `ForMember()` and `ForPath()`. Implementa...
- Modified
- 4 Dec at 13:50