public static SyncLogCrmEvolutionDetailItem Get(entitiesEvolveCentral ctx, int id)
        {
            var item = new SyncLogCrmEvolutionDetailItem();

            item = (from i in ctx.SyncLogCrmEvolutionDetailItems where i.Id == id orderby i.CreateDate descending select i).FirstOrDefault();
            return(item);
        }
        public static bool Save(entitiesEvolveCentral ctx, SyncLogCrmEvolutionDetailItem item)
        {
            try
            {
                if (item.Id == 0)
                {
                    ctx.SyncLogCrmEvolutionDetailItems.Add(item);
                }

                ctx.SaveChanges();
            }
            catch (Exception ex)
            {
                return(false);
            }
            return(true);
        }