Example #1
0
 /// <summary>
 /// 用于向 QuoteExpression EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToQuoteExpression(QuoteExpression quoteExpression)
 {
     base.AddObject("QuoteExpression", quoteExpression);
 }
Example #2
0
 /// <summary>
 /// 创建新的 QuoteExpression 对象。
 /// </summary>
 /// <param name="guid">Guid 属性的初始值。</param>
 /// <param name="srcID">SrcID 属性的初始值。</param>
 /// <param name="condition">Condition 属性的初始值。</param>
 /// <param name="expression">Expression 属性的初始值。</param>
 /// <param name="sortID">SortID 属性的初始值。</param>
 public static QuoteExpression CreateQuoteExpression(global::System.String guid, global::System.String srcID, global::System.String condition, global::System.String expression, global::System.Int32 sortID)
 {
     QuoteExpression quoteExpression = new QuoteExpression();
     quoteExpression.Guid = guid;
     quoteExpression.SrcID = srcID;
     quoteExpression.Condition = condition;
     quoteExpression.Expression = expression;
     quoteExpression.SortID = sortID;
     return quoteExpression;
 }