Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using Saleslogix.SData.Client;
- namespace WPS.FSS.Entities.CRM
- {
- [SDataPath("accounts")]
- public class Account
- {
- [SDataProtocolProperty(SDataProtocolProperty.Key)]
- public string Id { get; set; }
- public string AccountName { get; set; }
- public string Type { get; set; }
- // etc
- // extension entity reference
- public CAdditionalInfo CAddlindivInfo { get; set; } // <- property name was updated to the correct entity name
- }
- [SDataPath("cAddlindivInfoes")]
- public class CAdditionalInfo
- {
- public Account Account { get; set; } // reference to account parent entity
- public DateTime Date_of_birth { get; set; }
- public bool Do_not_call { get; set; }
- public DateTime CreateDate { get; set; }
- public string CreateUser { get; set; }
- public DateTime ModifyDate { get; set; }
- public string ModifyUser { get; set; }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement