프로젝트

일반

사용자정보

개정판 943b7d05

ID943b7d05e588d5b75c020943ff6f87418f63f052
상위 ecf8a079
하위 646a4bb9, 762cc9c8

백흠경이(가) 7달 전에 추가함

Fix: EF의 CommandTimeout을 int.MaxValue로 설정

Change-Id: I801a27762efb2c3d76e100190982c8db1dc49118

차이점 보기:

KCOM/Views/MainMenu.xaml.cs
644 644
            {
645 645
                var root = MarkupParser.MarkupToString(control, App.ViewInfo.UserID);
646 646

  
647
                var exist = ViewerDataModel.Instance.MyMarkupList.Where(data => data.ID == root.CommentID).FirstOrDefault();
647
                var exist = ViewerDataModel.Instance.MyMarkupList.Find(data => data.ID == root.CommentID);
648 648
                if (exist != null) //신규 추가 된 코멘트
649 649
                {
650 650
                    if (exist.Data != root.ConvertData) //코멘트가 같은지
KCOMDataModel/DataModel/CIModel.Designer.cs
44 44
        public CIEntities() : base("name=CIEntities", "CIEntities")
45 45
        {
46 46
            this.ContextOptions.LazyLoadingEnabled = true;
47
            this.CommandTimeout = int.MaxValue;
47 48
            OnContextCreated();
48 49
        }
49 50
    
......
53 54
        public CIEntities(string connectionString) : base(connectionString, "CIEntities")
54 55
        {
55 56
            this.ContextOptions.LazyLoadingEnabled = true;
57
            this.CommandTimeout = int.MaxValue;
56 58
            OnContextCreated();
57 59
        }
58 60
    
......
62 64
        public CIEntities(EntityConnection connection) : base(connection, "CIEntities")
63 65
        {
64 66
            this.ContextOptions.LazyLoadingEnabled = true;
67
            this.CommandTimeout = int.MaxValue;
65 68
            OnContextCreated();
66 69
        }
67 70
    

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)