개정판 943b7d05
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