private static EPException HandleUniqueViolation( string indexName, double x, double y) { return PropertyHashedEventTableUnique.HandleUniqueIndexViolation( indexName, "(" + x.RenderAny() + "," + y.RenderAny() + ")"); }
private static EPException HandleUniqueViolation( string indexName, XYWHRectangleMultiType other) { return PropertyHashedEventTableUnique.HandleUniqueIndexViolation( indexName, string.Format("({0},{1},{2},{3})", other.X.RenderAny(), other.Y.RenderAny(), other.W.RenderAny(), other.H.RenderAny())); }
public EventTable[] MakeEventTables( AgentInstanceContext agentInstanceContext, int? subqueryNumber) { var tables = new EventTable[propertyGetters.Length]; if (unique) { for (var i = 0; i < tables.Length; i++) { tables[i] = new PropertyHashedEventTableUnique(factories[i]); } } else { for (var i = 0; i < tables.Length; i++) { tables[i] = new PropertyHashedEventTableUnadorned(factories[i]); } } return tables; }