internal DeleteQuery(
     TTable t1,
     IFromPart from,
     List <IBooleanPart> whereParts,
     List <IPart> extraParameters
     ) : base(from, whereParts, extraParameters)
 {
     Table1 = t1;
 }
 protected BaseDeleteQuery(
     IFromPart from,
     List <IBooleanPart> whereParts,
     List <IPart> extraParameters
     )
 {
     From            = from;
     WhereParts      = whereParts;
     ExtraParameters = extraParameters;
 }
Exemple #3
0
 internal UpdateQuery(
     TTable t1,
     IFromPart target,
     IFromPart from,
     List <IBooleanPart> whereParts,
     List <IPart> returningParts,
     List <IPart> extraParameters,
     List <ISetPart> setParts
     ) : base(target, from, whereParts, returningParts, extraParameters, setParts)
 {
     Table1 = t1;
 }
Exemple #4
0
 protected BaseUpdateQuery(
     IFromPart target,
     IFromPart from,
     List <IBooleanPart> whereParts,
     List <IPart> returningParts,
     List <IPart> extraParameters,
     List <ISetPart> setParts
     )
 {
     Target          = target;
     FromPart        = from;
     WhereParts      = whereParts;
     ReturningParts  = returningParts;
     ExtraParameters = extraParameters;
     SetParts        = setParts;
 }
Exemple #5
0
 public static SelectQuery From(IFromPart p) => new SelectQuery(p);
Exemple #6
0
 public static UpdateQuery Update(IFromPart p) => new UpdateQuery(p);
Exemple #7
0
 protected BaseDeleteQuery(IFromPart target)
 {
     From = target;
 }
Exemple #8
0
 protected override DeleteQuery <TTable> New(DeleteQuery <TTable> t, IFromPart @from, IFromPart @using, List <IBooleanPart> whereParts, List <IPart> extraParameters)
 {
     return(new DeleteQuery <TTable>(t.Table1, from, @using, whereParts, extraParameters));
 }
Exemple #9
0
 public RightJoinPart(IFromPart from, params IBooleanPart[] conditions)
 {
     From       = @from;
     Conditions = conditions;
 }
Exemple #10
0
 protected BaseUpdateQuery(IFromPart target)
 {
     Target = target;
 }
Exemple #11
0
 protected override UpdateQuery <TTable> New(UpdateQuery <TTable> t, IFromPart target, IFromPart @from, List <IBooleanPart> whereParts, List <IPart> returningParts, List <IPart> extraParameters, List <ISetPart> setParts)
 {
     return(new UpdateQuery <TTable>(t.Table1, target, from, whereParts, returningParts, extraParameters, setParts));
 }