Okay, on a hunch and recommendation what happens when I take that line out, now
I am back to:
A network-related or instance-specific error occurred while establishing a
connection to SQL Server. The server was not found or was not accessible.
Verify that the instance name is correct and that
Hello,
I've read a post on SO
http://stackoverflow.com/questions/13748919/fluent-nhibernate-map-list-of-abstract-class-with-table-per-concrete-class-uni,
but I have a case where I don't have a list so much as a HasOne.
One of my domain classes HasOne, but that one extends an abstract base
Hello,
I've got an Attachments table I am dealing with. Originally the data was
table-bound VARBINARY(MAX), and the row ids were (are) BIGINT, etc.
The domain model, and related views and view models, are also,
inexplicably, strongly coupled with the BIGINT (or C# long) Id property.
There's
On Thursday, October 9, 2014 3:01:58 PM UTC-5, mwpowellhtx wrote:
Hello,
I've got an Attachments table I am dealing with. Originally the data was
table-bound VARBINARY(MAX), and the row ids were (are) BIGINT, etc.
The domain model, and related views and view models, are also
On Friday, October 31, 2014 4:52:16 AM UTC-5, Gleb Chermennov wrote:
How do you expect this to behave? Length is only applicable to text
columns - you know, nvarchar or whatever - when you can say no longer than
100 characters.
In case of integer, that just does not make sense.
This
Hello,
This might be more of an NH question.
I start a new transient instance of a domain model with a Name set when I
create it. So far so good.
As soon as I call ISession.Save on the instance, the Name property is
re-hydrated to null.
The instance id is set as I would expect it to be, but
On Tuesday, November 4, 2014 9:50:06 PM UTC-6, mwpowellhtx wrote:
Hello,
This might be more of an NH question.
Big ole DUH. It is a domain issue...
I start a new transient instance of a domain model with a Name set when I
create it. So far so good.
As soon as I call ISession.Save
example that illustrates it I think:
https://github.com/mwpowellhtx/fluent-nhibernate-examples
See the bin/{Config}/FluentMappings folder for up to date mappings.
I am consistently finding that the CollectionItem parent (Collection) Id
column is mapped correctly, whether I include the column name
Hello,
How to map an Ordered List? however that gets done, AsList or otherwise?
If AsList, what is the default Index column? Or I need to explicitly
declare that?
Thank you...
Best regards,
Michael Powell
--
You received this message because you are subscribed to the Google Groups
Fluent
On Tuesday, November 11, 2014 11:49:26 AM UTC-6, mwpowellhtx wrote:
Hello,
I've been trying this morning, and for whatever reason nhforge.org appears
to be down, so I cannot look it up there.
https://github.com/nhibernate/nhibernate-core
How to map an Ordered List? however that gets done
I concur.
The technical term is impedance mismatch, with properties associated with the
relationship. Happens more often than you think: i.e. Player membership on a
team; contract terms might be captured on the membership.
Best of luck!
--
You received this message because you are subscribed
On Wednesday, April 15, 2015 at 6:41:34 PM UTC-4, brainbolt wrote:
I'm accustomed to seeing No persister for: errors when I don't have a class
map defined for one of my classes, but not for an internal NHibernate class.
I'm the getting this exception when I attempt to access the Tasks
Now I'm thinking that just possibly I've got the HasOne / References backwards.
Foo may reference a bar (or not, i.e. nullable). When it does, however, bar
must contain a foo (has one). It's a bit opposite the usual 1-* / *-1, but I
believe that should work in this instance. Thank you!
--
You
Football.Migrator.exe!Football.Migrator.Program.PlanWork(System.Action
workPlan) Line 39 + 0xe bytes C#
Football.Migrator.exe!Football.Migrator.Program.Main(string[] args) Line
66 + 0x36 bytes C#
[External Code]
четверг, 11 февраля 2016 г., 17:44:15 UTC+3 пользователь mwpowellhtx
> написал:
>>
>> Hello,
On Saturday, February 13, 2016 at 11:14:26 AM UTC-5, mwpowellhtx wrote:
>
>
>
> On Friday, February 12, 2016 at 5:19:04 AM UTC-5, Gleb Chermennov wrote:
>>
>> Hello Michael,
>> as far as I know, creating a session factory shouldn't instantiate any of
>> yo
On Saturday, February 13, 2016 at 11:30:24 AM UTC-5, mwpowellhtx wrote:
>
>
>
> On Saturday, February 13, 2016 at 11:14:26 AM UTC-5, mwpowellhtx wrote:
>>
>>
>>
>> On Friday, February 12, 2016 at 5:19:04 AM UTC-5, Gleb Chermennov wrote:
>>>
>&
Oh I see. I opened the solution directly.
--
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to fluent-nhibernate+unsubscr...@googlegroups.com.
To post to this
ent handler.
http://stackoverflow.com/questions/14578113/extending-linq-to-nhibernate-with-custom-hql-generator
Thoughts?
> воскресенье, 6 марта 2016 г., 23:46:34 UTC+3 пользователь mwpowellhtx
> написал:
>>
>> Hello,
>>
>> I've got a semi-rich domain model tha
On Tuesday, March 8, 2016 at 11:03:14 AM UTC-5, mwpowellhtx wrote:
>
>
> On Monday, March 7, 2016 at 4:53:16 AM UTC-5, Gleb Chermennov wrote:
>>
>> So I think you're getting NotSupportedException because NHibernate can't
>> translate your method call to sql/hql.
objects.
I try to avoid casting anyways. I'd rather use a visitor pattern as it
> maintains completeness.
>
Thank you.
On Thu, Aug 11, 2016 at 1:33 PM, mwpowellhtx <mwpow...@gmail.com
> > wrote:
>
>>
>>
>> On Thursday, August 11, 2016 at 7:23:35 AM UTC-4, Ra
On Thursday, August 11, 2016 at 8:22:07 AM UTC-4, Oskar Berggren wrote:
>
>
>
> 2016-08-11 12:33 GMT+01:00 mwpowellhtx <mwpow...@gmail.com >:
>
>>
>>
>> On Thursday, August 11, 2016 at 7:23:35 AM UTC-4, Rasmoo wrote:
>>>
>>> That's ex
On Wednesday, August 10, 2016 at 12:00:17 PM UTC-4, Brandon Perry wrote:
>
>
> > On Aug 10, 2016, at 10:55 AM, Michael Powell > wrote:
> >
> > Hello,
> >
> > I have a use case where I'd like to cast an abstract base class to a
> > child class in order to verify one of
On Thursday, August 11, 2016 at 8:08:10 AM UTC-4, Oskar Berggren wrote:
>
>
>
> 2016-08-11 13:04 GMT+01:00 mwpowellhtx <mwpow...@gmail.com >:
>
>>
>>
>> On Thursday, August 11, 2016 at 7:59:46 AM UTC-4, Oskar Berggren wrote:
>>>
>>&
On Thursday, August 11, 2016 at 7:59:46 AM UTC-4, Oskar Berggren wrote:
>
>
>
> 2016-08-11 11:47 GMT+01:00 mwpowellhtx <mwpow...@gmail.com >:
>
>>
>>
>> On Wednesday, August 10, 2016 at 1:20:15 PM UTC-4, Oskar Berggren wrote:
>>>
>>&g
On Wednesday, August 10, 2016 at 1:20:15 PM UTC-4, Oskar Berggren wrote:
>
> You can put something like this in relevant base class:
>
> public TCastTarget As()
> {
> return (TCastTarget)this;
> }
>
Do you understand what's going on with Proxying? You don't see it in your
code, but what
On Thursday, August 11, 2016 at 8:35:32 AM UTC-4, Oskar Berggren wrote:
>
>
>
> 2016-08-11 13:25 GMT+01:00 mwpowellhtx <mwpow...@gmail.com >:
>
>>
>>
>> On Thursday, August 11, 2016 at 8:05:04 AM UTC-4, Oskar Berggren wrote:
>>>
>>>
&
On Thursday, August 11, 2016 at 8:47:18 AM UTC-4, Oskar Berggren wrote:
>
>
>
> 2016-08-11 13:33 GMT+01:00 mwpowellhtx <mwpow...@gmail.com >:
>
>>
>>
>> On Thursday, August 11, 2016 at 8:22:07 AM UTC-4, Oskar Berggren wrote:
>>>
>>&
On Thursday, August 11, 2016 at 8:05:04 AM UTC-4, Oskar Berggren wrote:
>
>
>
> 2016-08-11 12:59 GMT+01:00 Oskar Berggren <oskar.b...@gmail.com
> >:
>
>>
>>
>> 2016-08-11 11:47 GMT+01:00 mwpowellhtx <mwpow...@gmail.com >
>> :
>>
&
it's
>
> cup.Juice.UnproxiedObject as AppleJuice
>
>
> On Thu, Aug 11, 2016 at 12:47 PM, mwpowellhtx <mwpow...@gmail.com
> > wrote:
>
>>
>>
>> On Wednesday, August 10, 2016 at 1:20:15 PM UTC-4, Oskar Berggren wrote:
>>>
>>> You can p
On Wednesday, August 24, 2016 at 8:21:20 AM UTC-4, Ivan Ruiz de Eguilaz
Sosoaga wrote:
>
> I have problems generating a new table by using HasManyToMany only When I
> have a IDictonary as a source, for instance If I try it with an IList I do
> not have any problem and I see how a new table is
On Monday, November 28, 2016 at 5:50:04 AM UTC-5, Edno Silva wrote:
>
> Hello everyone,
>
> The new version of NHibernate (4.1.0-CR1) has a new Cascade option in
> OneToOne relationships: all-delete-orphan (
> https://nhibernate.jira.com/browse/NH-1262).
> Could you please add this option to
Off hand I do not think it's possible, even with the subclass mapping. Consider
why due to single inheritance types, versus multiple implemented interfaces.
This is because what you end up with are actually proxy instances managed by
the session.
When I have something like that I consider a
On Friday, December 23, 2016 at 7:22:44 AM UTC-5, Felipe Oriani wrote:
>
> Hi guys,
>
> We have a table on the database where we want to map the ID as Guid. Our
> project should run over two databases, Sql Server and Oracle. For Sql
> Server, we define the column type as *uniqueidentifier*
On Tuesday, February 27, 2018 at 3:58:38 PM UTC-5, Alexander Zaytsev wrote:
>
> Hi Michael,
>
> 1. NHibernate has fixed assembly version numbers, they do change only when
> minor/major version change:
>
> - All 4.0.x assemblies have 4.0.0.4000 assembly version number (4000 is a
> rudimentary
On Wednesday, February 28, 2018 at 8:25:23 AM UTC-5, mwpowellhtx wrote:
>
>
>
> On Tuesday, February 27, 2018 at 3:58:38 PM UTC-5, Alexander Zaytsev wrote:
>>
>> Hi Michael,
>>
>> 1. NHibernate has fixed assembly version numbers, they do change only
On Tuesday, February 27, 2018 at 3:58:38 PM UTC-5, Alexander Zaytsev wrote:
>
> Hi Michael,
>
> 1. NHibernate has fixed assembly version numbers, they do change only when
> minor/major version change:
>
> - All 4.0.x assemblies have 4.0.0.4000 assembly version number (4000 is a
> rudimentary
36 matches
Mail list logo