public static CRMLinkSynchedOrganization GetCRMLinkSynchedOrganization(LoginUser loginUser, int cRMLinkSynchedOrganizationsID) { CRMLinkSynchedOrganizations cRMLinkSynchedOrganizations = new CRMLinkSynchedOrganizations(loginUser); cRMLinkSynchedOrganizations.LoadByCRMLinkSynchedOrganizationsID(cRMLinkSynchedOrganizationsID); if (cRMLinkSynchedOrganizations.IsEmpty) { return(null); } else { return(cRMLinkSynchedOrganizations[0]); } }
public CRMLinkSynchedOrganization(DataRow row, CRMLinkSynchedOrganizations cRMLinkSynchedOrganizations) : base(row, cRMLinkSynchedOrganizations) { _cRMLinkSynchedOrganizations = cRMLinkSynchedOrganizations; }