public GeneratedCodeVisitor(SourceBuilder output, Dictionary<string, object> globalSymbols, NullBehaviour nullBehaviour) { _nullBehaviour = nullBehaviour; _source = output; _scope = new Scope(new Scope(null) { Variables = globalSymbols }); }
public GeneratedCodeVisitor(SourceWriter source, Dictionary<string, object> globalSymbols, NullBehaviour nullBehaviour) { _nullBehaviour = nullBehaviour; _source = source; _scope = new Scope(new Scope(null) { Variables = globalSymbols }); }
public GeneratedCodeVisitor(SourceWriter source, Dictionary <string, object> globalSymbols, NullBehaviour nullBehaviour) { _nullBehaviour = nullBehaviour; _source = source; _scope = new Scope(new Scope(null) { Variables = globalSymbols }); }
public GlobalMembersVisitor(SourceWriter output, Dictionary <string, object> globalSymbols, NullBehaviour nullBehaviour) { _source = output; _globalSymbols = globalSymbols; _nullBehaviour = nullBehaviour; }
public SparkSettings SetNullBehaviour(NullBehaviour nullBehaviour) { NullBehaviour = nullBehaviour; return this; }
public GlobalMembersVisitor(SourceWriter output, Dictionary<string, object> globalSymbols, NullBehaviour nullBehaviour) { _source = output; _globalSymbols = globalSymbols; _nullBehaviour = nullBehaviour; }
public SparkSettings SetNullBehaviour(NullBehaviour nullBehaviour) { NullBehaviour = nullBehaviour; return(this); }
/// <summary> /// Writes the field. /// </summary> /// <param name="fieldValue">The field value.</param> /// <param name="nullBehaviour">The null behaviour.</param> /// <returns></returns> public static object WriteField( object fieldValue, NullBehaviour nullBehaviour ) { return WriteFieldObject( AdoNetOleDBParamCollection.ApplyNullBehaviourToValue( fieldValue, nullBehaviour ) ); }