/// <summary> /// 用于向 QuoteMainRelation EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToQuoteMainRelation(QuoteMainRelation quoteMainRelation) { base.AddObject("QuoteMainRelation", quoteMainRelation); }
/// <summary> /// 创建新的 QuoteMainRelation 对象。 /// </summary> /// <param name="srcID">SrcID 属性的初始值。</param> /// <param name="code">Code 属性的初始值。</param> /// <param name="type">Type 属性的初始值。</param> public static QuoteMainRelation CreateQuoteMainRelation(global::System.String srcID, global::System.String code, global::System.String type) { QuoteMainRelation quoteMainRelation = new QuoteMainRelation(); quoteMainRelation.SrcID = srcID; quoteMainRelation.Code = code; quoteMainRelation.Type = type; return quoteMainRelation; }