/// <summary> /// Actually creates the instance of the object for saving /// relevant items to the database and their corresponding files. /// </summary> public void SubmitReport() { var IR = new InterfaceRecord(); IR.WasTest = this.VendorObject.WasTest; IR.PerformedBy = this.UserID; IR.VendorName = this.VendorObject.VendorName; IR.VendorFileName = Path.GetFileName(this.VendorObject.cleanUpItems.EncryptedFilePath); IR.EncryptedFileName = Path.GetFileName(this.VendorObject.cleanUpItems.EncryptedFilePath); var bA = new System.Data.Linq.Binary(FileReport.ReturnFileBytes(this.VendorObject.cleanUpItems.EncryptedFilePath)); IR.EncryptedFile = bA; IR.HrSystemFileName = Path.GetFileName(this.VendorObject.cleanUpItems.TxtWorkingFilePath); var bA2 = new System.Data.Linq.Binary(FileReport.ReturnFileBytes(this.VendorObject.cleanUpItems.TxtWorkingFilePath)); IR.HrSystemFile = bA2; IR.Message = this.VendorObject.TransmissionReport; IR.DateOfAction = DateTime.Now; //Plop it in!! DatabaseHelper.Insert<InterfaceRecord>(IR); }
partial void OnpancardChanging(System.Data.Linq.Binary value);
partial void OnDegreeChanging(System.Data.Linq.Binary value);
partial void OnImageFileChanging(System.Data.Linq.Binary value);
partial void OnVersionChanging(System.Data.Linq.Binary value);
partial void OnconfigBytesChanging(System.Data.Linq.Binary value);
partial void OnManifestChanging(System.Data.Linq.Binary value);
public int uspInsertBrokerImage([Parameter(DbType = "UniqueIdentifier")] System.Nullable <System.Guid> attid, [Parameter(DbType = "UniqueIdentifier")] System.Nullable <System.Guid> owner, [Parameter(DbType = "Image")] System.Data.Linq.Binary att, [Parameter(DbType = "VarChar(100)")] string fn, [Parameter(DbType = "VarChar(10)")] string ext) { IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), attid, owner, att, fn, ext); return((int)(result.ReturnValue)); }
partial void OnUserpicChanging(System.Data.Linq.Binary value);
partial void OnCreatedDateChanging(System.Data.Linq.Binary value);
partial void OnstrDescripcionChanging(System.Data.Linq.Binary value);
public int insert_order([Parameter(DbType = "Int")] ref System.Nullable <int> id, [Parameter(DbType = "NVarChar(50)")] string customer, [Parameter(DbType = "DateTime")] System.Nullable <System.DateTime> date, [Parameter(DbType = "Money")] System.Nullable <decimal> shipping_cost, [Parameter(DbType = "Timestamp")] ref System.Data.Linq.Binary timestamp) { IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), id, customer, date, shipping_cost, timestamp); id = ((System.Nullable <int>)(result.GetParameterValue(0))); timestamp = ((System.Data.Linq.Binary)(result.GetParameterValue(4))); return((int)(result.ReturnValue)); }
partial void OnTimestampChanging(System.Data.Linq.Binary value);
public int update_line_item([Parameter(DbType = "Int")] System.Nullable <int> id, [Parameter(DbType = "Int")] System.Nullable <int> order_id, [Parameter(DbType = "NVarChar(50)")] string product_name, [Parameter(DbType = "Money")] System.Nullable <decimal> price, [Parameter(DbType = "Int")] System.Nullable <int> quantity, [Parameter(DbType = "Timestamp")] System.Data.Linq.Binary old_timestamp, [Parameter(DbType = "Timestamp")] ref System.Data.Linq.Binary timestamp) { IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), id, order_id, product_name, price, quantity, old_timestamp, timestamp); timestamp = ((System.Data.Linq.Binary)(result.GetParameterValue(6))); return((int)(result.ReturnValue)); }
partial void OnpictureChanging(System.Data.Linq.Binary value);
public int uspInsertSubmission([Parameter(Name = "SubmissionAttachmentID", DbType = "UniqueIdentifier")] System.Nullable <System.Guid> submissionAttachmentID, [Parameter(Name = "OwnerID", DbType = "UniqueIdentifier")] System.Nullable <System.Guid> ownerID, [Parameter(Name = "Attachment", DbType = "Image")] System.Data.Linq.Binary attachment, [Parameter(Name = "FileName", DbType = "VarChar(100)")] string fileName, [Parameter(Name = "Extension", DbType = "VarChar(10)")] string extension, [Parameter(Name = "AddedBy", DbType = "VarChar(50)")] string addedBy) { IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), submissionAttachmentID, ownerID, attachment, fileName, extension, addedBy); return((int)(result.ReturnValue)); }
partial void OnCompanyIdChanging(System.Data.Linq.Binary value);
partial void OnPersonel_PictureChanging(System.Data.Linq.Binary value);
partial void OnPropertyIdChanging(System.Data.Linq.Binary value);
partial void OnModuleDataChanging(System.Data.Linq.Binary value);
public int spAddEntry([global::System.Data.Linq.Mapping.ParameterAttribute(Name = "Category", DbType = "NVarChar(64)")] string category, [global::System.Data.Linq.Mapping.ParameterAttribute(Name = "Key", DbType = "UniqueIdentifier")] System.Nullable <System.Guid> key, [global::System.Data.Linq.Mapping.ParameterAttribute(Name = "Value", DbType = "VarBinary(MAX)")] System.Data.Linq.Binary value, [global::System.Data.Linq.Mapping.ParameterAttribute(Name = "AddedOnUtc", DbType = "DateTime")] System.Nullable <System.DateTime> addedOnUtc, [global::System.Data.Linq.Mapping.ParameterAttribute(Name = "ExpiresOnUtc", DbType = "DateTime")] System.Nullable <System.DateTime> expiresOnUtc) { IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), category, key, value, addedOnUtc, expiresOnUtc); return((int)(result.ReturnValue)); }
partial void OnSTOKRESIMChanging(System.Data.Linq.Binary value);
public int INSERTStreamMoment([global::System.Data.Linq.Mapping.ParameterAttribute(DbType = "DateTime2")] System.Nullable <System.DateTime> param1, [global::System.Data.Linq.Mapping.ParameterAttribute(DbType = "Image")] System.Data.Linq.Binary param2) { IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), param1, param2); return((int)(result.ReturnValue)); }
partial void OnimagecontentChanging(System.Data.Linq.Binary value);
public ISingleResult <xspGetCachedResultResult> xspGetCachedResult([global::System.Data.Linq.Mapping.ParameterAttribute(DbType = "Int")] System.Nullable <int> methodid, [global::System.Data.Linq.Mapping.ParameterAttribute(DbType = "Binary(32)")] System.Data.Linq.Binary cachekey) { IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), methodid, cachekey); return((ISingleResult <xspGetCachedResultResult>)(result.ReturnValue)); }
partial void OnX12Changing(System.Data.Linq.Binary value);
public int xspInsertCachedResult([global::System.Data.Linq.Mapping.ParameterAttribute(DbType = "Int")] System.Nullable <int> methodid, [global::System.Data.Linq.Mapping.ParameterAttribute(DbType = "Xml")] System.Xml.Linq.XElement parameterset, [global::System.Data.Linq.Mapping.ParameterAttribute(DbType = "Xml")] System.Xml.Linq.XElement result, [global::System.Data.Linq.Mapping.ParameterAttribute(DbType = "Binary(32)")] System.Data.Linq.Binary cachekey, [global::System.Data.Linq.Mapping.ParameterAttribute(DbType = "DateTime")] ref System.Nullable <System.DateTime> expireson) { IExecuteResult result1 = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), methodid, parameterset, result, cachekey, expireson); expireson = ((System.Nullable <System.DateTime>)(result1.GetParameterValue(4))); return((int)(result1.ReturnValue)); }
partial void OnPostgraduationChanging(System.Data.Linq.Binary value);
partial void OnSSMA_TimeStampChanging(System.Data.Linq.Binary value);
partial void OncontraseñaChanging(System.Data.Linq.Binary value);
partial void OnEmp_HireDateChanging(System.Data.Linq.Binary value);