Best practice to refer to a BO property in a BO function?


Author
Message
Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
When creating functions and methods in a BO, sometimes you may need to use a BO property like BO.FirstName but at the same time, check for BO.Count > 0 must be done, I know that we can also refer to the property using Me.CurrentRow.Item(Business.bizItems.bizItemsFieldNames.FirstName.ToString).



So my question is, which one is better to use and why?


Edhy Rijo

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search