migrate to new git
This commit is contained in:
33
web/App_Code/Model/Partial/act_bom.cs
Normal file
33
web/App_Code/Model/Partial/act_bom.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Activities;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.ComponentModel;
|
||||
using System.Globalization;
|
||||
using System.Reflection;
|
||||
using System.Reflection.Emit;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Web.Http;
|
||||
using Model;
|
||||
|
||||
/// <summary>
|
||||
/// Summary description for act_bom
|
||||
/// </summary>
|
||||
// 為對應資料表MODEL宣告額外參數類別(Metadata)
|
||||
// [JsonIgnore] 避免WEBAPI自動抓關聯資料
|
||||
[MetadataType(typeof(act_bomMetadata))]
|
||||
public class act_bom
|
||||
{
|
||||
private class act_bomMetadata
|
||||
{
|
||||
[JsonIgnore]
|
||||
public virtual ICollection<act_bom> act_bom1 { get; set; }
|
||||
[JsonIgnore]
|
||||
public virtual act_bom act_bom2 { get; set; }
|
||||
[JsonIgnore]
|
||||
public virtual actItem actItem { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user