1. Milton Jiménez
  2. SnapDevelop
  3. Wednesday, 8 July 2020 15:19 PM UTC

Hi,Friends

SelectToStore obsolete in compilation, 

What alternatives are there;

if i need to use result.count

thanks

var result = _context.SqlExecutor.SelectToStore<DynamicModel>(sql,gi_caja,gs_claveregis,gs_funcionario);

            if (result.Count == 1)
            {
                 return result;

            }
          

Accepted Answer
Milton Jiménez Accepted Answer Pending Moderation
  1. Wednesday, 8 July 2020 22:12 PM UTC
  2. SnapDevelop
  3. # Permalink

ok thanks

Regards,

Comment
There are no comments made yet.
Govinda Lopez @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 8 July 2020 17:31 PM UTC
  2. SnapDevelop
  3. # 1
Comment
  1. Govinda Lopez @Appeon
  2. Wednesday, 8 July 2020 20:17 PM UTC
ModelStore is now obsolete. You can use either .NET DataStore or the SqlModelMapper. In this case you can also use SqlExecutor because you will be expecting a List of data. So you can use any one of those two.
  1. Helpful
  1. Miguel Leeuwe
  2. Thursday, 9 July 2020 00:43 AM UTC
Hi Govinda,

How do we get information like this "Modelstore is now obsolete" ...

Is there some way we are supposed to get this information? (other than sporadic comments on this site).

A link maybe?

TIA
  1. Helpful
  1. Govinda Lopez @Appeon
  2. Monday, 27 July 2020 18:44 PM UTC
Hi Miguel,



You may find this here: https://docs.appeon.com/powerbuilder/api_reference/PowerBuilder.Data/ModelStore/ModelStore.html



But please do open a support ticket (https://www.appeon.com/standardsupport/newbug) so we can consider creating a "What's New" document for these type of changes.





Regards,
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.