Some question about LLBLGEN

Posts   
 
    
quannv avatar
quannv
User
Posts: 11
Joined: 04-Jul-2005
# Posted on: 30-Aug-2005 05:32:52   
  1. How do I put null value into Datetime field (SQL server)?
  2. Can EntityCollection reserve?
  3. Can EntityCollection clone?
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 30-Aug-2005 10:56:55   

quannv wrote:

  1. How do I put null value into Datetime field (SQL server)?

entity.SetNewFieldValue(fieldindex, null);

  1. Can EntityCollection reserve?

You mean, reverse? No, you've to do that in a loop (can be done in 1 loop, in place)

  1. Can EntityCollection clone?

You want to clone the entities too, or just the collection?

Frans Bouma | Lead developer LLBLGen Pro
quannv avatar
quannv
User
Posts: 11
Joined: 04-Jul-2005
# Posted on: 30-Aug-2005 13:18:41   
  1. Can EntityCollection reserve?

You mean, reverse? No, you've to do that in a loop (can be done in 1 loop, in place)

Ok, I can do like that, but the reverse function is better.

  1. Can EntityCollection clone?

You want to clone the entities too, or just the collection?

Clone the entities too.

bclubb
User
Posts: 934
Joined: 12-Feb-2004
# Posted on: 30-Aug-2005 22:17:02   

What are you trying to accomplish with the cloned collection?