partial void UpdateSQLBot_Function(SQLBot_Function instance);
partial void DeleteSQLBot_Function(SQLBot_Function instance);
partial void InsertSQLBot_Function(SQLBot_Function instance);
private void detach_SQLBot_Function(SQLBot_Function entity) { this.SendPropertyChanging(); entity.SQLBot_FieldType = null; }
private void attach_SQLBot_Function(SQLBot_Function entity) { this.SendPropertyChanging(); entity.SQLBot_FunctionLocation = this; }
private void detach_SQLBot_Function(SQLBot_Function entity) { this.SendPropertyChanging(); entity.SQLBot_FunctionColumnLocation = null; }
private bool IsFunctionName(string name, Bot ChatBot, User ChatUser, out SQLBot_Function function) { if (name == "UNKNOWN") { function = null; } else { try { BazaRelacyjnaDataContext dc = new BazaRelacyjnaDataContext(); function = dc.SQLBot_Function.Where(fn => fn.sqlfn_Name == name).FirstOrDefault(); } catch (Exception) { function = null; } } return function != null; }