Beispiel #1
0
 /// <summary>
 /// Factory method for split-stream items.
 /// </summary>
 /// <param name="insertInto">the insert-into clause</param>
 /// <param name="selectClause">the select-clause</param>
 /// <param name="whereClause">where-expression or null</param>
 /// <returns>split-stream item</returns>
 public static OnInsertSplitStreamItem Create(
     InsertIntoClause insertInto,
     SelectClause selectClause,
     Expression whereClause)
 {
     return(new OnInsertSplitStreamItem(insertInto, selectClause, whereClause));
 }
Beispiel #2
0
 /// <summary>
 /// Factory method for split-stream items.
 /// </summary>
 /// <param name="insertInto">the insert-into clause</param>
 /// <param name="selectClause">the select-clause</param>
 /// <param name="propertySelects">contained-event selects in the from-clause</param>
 /// <param name="propertySelectsStreamName">stream name for contained-event selection</param>
 /// <param name="whereClause">where-expression or null</param>
 /// <returns>split-stream item</returns>
 public static OnInsertSplitStreamItem Create(
     InsertIntoClause insertInto,
     SelectClause selectClause,
     IList <ContainedEventSelect> propertySelects,
     string propertySelectsStreamName,
     Expression whereClause)
 {
     return(new OnInsertSplitStreamItem(insertInto, selectClause, propertySelects, propertySelectsStreamName, whereClause));
 }
Beispiel #3
0
 /// <summary>
 /// Ctor.
 /// </summary>
 /// <param name="insertInto">the insert-into clause</param>
 /// <param name="selectClause">the select-clause</param>
 /// <param name="propertySelects">contained-event selections</param>
 /// <param name="propertySelectsStreamName">contained-event selection stream name</param>
 /// <param name="whereClause">where-expression or null</param>
 public OnInsertSplitStreamItem(
     InsertIntoClause insertInto,
     SelectClause selectClause,
     IList <ContainedEventSelect> propertySelects,
     string propertySelectsStreamName,
     Expression whereClause)
 {
     InsertInto                = insertInto;
     SelectClause              = selectClause;
     PropertySelects           = propertySelects;
     PropertySelectsStreamName = propertySelectsStreamName;
     WhereClause               = whereClause;
 }
 /// <summary>
 /// Specify an insert-into-clause.
 /// </summary>
 /// <param name="insertInto">specifies the insert-into-clause, or null to indicate that the clause is absent</param>
 /// <returns>model</returns>
 public EPStatementObjectModel SetInsertInto(InsertIntoClause insertInto)
 {
     InsertInto = insertInto;
     return(this);
 }
Beispiel #5
0
 /// <summary>
 /// Ctor.
 /// </summary>
 /// <param name="insertInto">the insert-into clause</param>
 /// <param name="selectClause">the select-clause</param>
 /// <param name="whereClause">where-expression or null</param>
 public OnInsertSplitStreamItem(InsertIntoClause insertInto, SelectClause selectClause, Expression whereClause)
 {
     InsertInto   = insertInto;
     SelectClause = selectClause;
     WhereClause  = whereClause;
 }
Beispiel #6
0
 /// <summary>
 /// Ctor.
 /// </summary>
 /// <param name="insertInto">the insert-into clause</param>
 /// <param name="selectClause">the select-clause</param>
 /// <param name="whereClause">where-expression or null</param>
 public OnInsertSplitStreamItem(InsertIntoClause insertInto, SelectClause selectClause, Expression whereClause)
     : this(insertInto, selectClause, null, null, whereClause)
 {
 }