Пример #1
0
 public TimeRecordSync(string connectionString)
 {
     var connection = Microsoft.Xrm.Client.CrmConnection.Parse(connectionString);
     _context = new Xrm.XrmServiceContext(connection);
     _currentUser = GetIdentity();
     var item = _context.IncidentSet.FirstOrDefault();
 }
Пример #2
0
        public TimeRecordSync(string connectionString)
        {
            var connection = Microsoft.Xrm.Client.CrmConnection.Parse(connectionString);

            _context     = new Xrm.XrmServiceContext(connection);
            _currentUser = GetIdentity();
            var item = _context.IncidentSet.FirstOrDefault();
        }
Пример #3
0
 public TimeRecordSync(string connectionString)
 {
     var connection = Microsoft.Xrm.Client.CrmConnection.Parse(connectionString);
     _context = new Xrm.XrmServiceContext(connection);
     _currentUser = GetIdentity();
 }