Insert a custom object code example
Example: Insert a custom object
Visitor__c newVisitor = new Visitor__c ();
newVisitor.Name = 'John Smith';
newVisitor.Identifier__c = '[email protected]';
insert newVisitor;
Visitor__c newVisitor = new Visitor__c ();
newVisitor.Name = 'John Smith';
newVisitor.Identifier__c = '[email protected]';
insert newVisitor;