Contact Us
Forum Home
>
DevForce
>
DevForce 2010
New Posts
FAQ
Search
Calendar
Register
Login
IIdGenerator implementation
Post Reply
Author
Message
Share Topic
Printable Version
Delicious
Digg
Facebook
Furl
Google Boomarks
Google Buzz
MySpace
Newsvine
reddit
StumbleUpon
Translate
Twitter
Windows Live
Yahoo Bookmarks
Topic Search
Topic Options
Post Reply
Create New Topic
Sakar SR
Members Profile
Send Private Message
Find Members Posts
Add to Buddy List
Newbie
Joined: 21-Jul-2010
Location: India
Posts: 39
Post Options
Post Reply
Quote Sakar SR
Report Post
Quote
Reply
Topic: IIdGenerator implementation
Posted: 28-Feb-2012 at 7:53am
Hi sbelini,
thank you for your concern. the problem was not on Iidgenerator. i fixed it .
it was on the other function i called in my program.
Learning Ideablade is Interesting . Ya! it is a great technology you guys have build.
After learning little more i made up my mind to buy this wonderful product.
Have a nice day.
sbelini
Members Profile
Send Private Message
Find Members Posts
Add to Buddy List
IdeaBlade
Joined: 13-Aug-2010
Location: Oakland
Posts: 786
Post Options
Post Reply
Quote sbelini
Report Post
Quote
Reply
Posted: 27-Feb-2012 at 1:51pm
Hi Sakar,
Can you provide the code for your IidGenerator?
Silvio.
Sakar SR
Members Profile
Send Private Message
Find Members Posts
Add to Buddy List
Newbie
Joined: 21-Jul-2010
Location: India
Posts: 39
Post Options
Post Reply
Quote Sakar SR
Report Post
Quote
Reply
Posted: 25-Feb-2012 at 1:38pm
while IIdGenerator implementation the following error is thrown.
Code:
public static SysUser Create(EntityManager pManager)
{
SysUser aSysUser = new SysUser();
// if this object type requires a unique id and you have implemented
// the IIdGenerator interface implement the following line
pManager.GenerateId(aSysUser, SysUser.PropertyMetadata.RecID);
// Add custom code here
aSysUser.EntityAspect.AddToManager();
return aSysUser;
}
Error:
Object referance not set to an instance of an object
My data base has an tabel for NextId, with on record for GLOBAL
and i place the IIdGenerator class in my BOL.
Post Reply
Forum Jump
-- Select Forum --
Community Forum
Community Forum
Community Forum now on StackOverflow
DevForce 2012
DevForce 2010
DevForce 2009
DevForce Classic
Forum Permissions
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
delete your posts in this forum
You
cannot
edit your posts in this forum
You
cannot
create polls in this forum
You
cannot
vote in polls in this forum