• divakar ddd
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 4
    Replies
 public Map<ID,List<string>> Inputmethod(string input1,Map<ID,List<string>>,input2,Map<ID,Map<ID,set<integer>>>)
{
         List<string>AccList =input2.values();
        List<Account>AccList=New List<Account>();
    for(string AccName=AccList){
        Account a=New Account();
        a.Name=AccName;
        AccountList.add(a);
    }
    insert AccList;
    return Map<ID,list<string>>;
        

 public Map<ID,List<string>> Inputmethod(string input1,Map<ID,List<string>>,input2,Map<ID,Map<ID,set<integer>>>)
{
         List<string>AccList =input2.values();
        List<Account>AccList=New List<Account>();
    for(string AccName=AccList){
        Account a=New Account();
        a.Name=AccName;
        AccountList.add(a);
    }
    insert AccList;
    return Map<ID,list<string>>;
        


the above code seems to be we knw data types in method and we knw parameters so automatically we can add and assign to object ."THAT PROCESS AUTOMATICALLY I MEAN TAKE PARAMETERS AND DATATYPES AND ASSIGN TO OBJECT LIKE A ROBOAT.any code is there
 public Map<ID,List<string>> Inputmethod(string input1,Map<ID,List<string>>,input2,Map<ID,Map<ID,set<integer>>>)
{
         List<string>AccList =input2.values();
        List<Account>AccList=New List<Account>();
    for(string AccName=AccList){
        Account a=New Account();
        a.Name=AccName;
        AccountList.add(a);
    }
    insert AccList;
    return Map<ID,list<string>>;
        

 public Map<ID,List<string>> Inputmethod(string input1,Map<ID,List<string>>,input2,Map<ID,Map<ID,set<integer>>>)
{
         List<string>AccList =input2.values();
        List<Account>AccList=New List<Account>();
    for(string AccName=AccList){
        Account a=New Account();
        a.Name=AccName;
        AccountList.add(a);
    }
    insert AccList;
    return Map<ID,list<string>>;
        


the above code seems to be we knw data types in method and we knw parameters so automatically we can add and assign to object ."THAT PROCESS AUTOMATICALLY I MEAN TAKE PARAMETERS AND DATATYPES AND ASSIGN TO OBJECT LIKE A ROBOAT.any code is there

what  is transient keyword ....how to use in transient key word in salesforce