ActiveRecordIntegrationSample.Controllers.ProductLicenseController.Insert C# (CSharp) Method

Insert() private method

private Insert ( [ AutoLoad = AutoLoadBehavior.OnlyNested)]ProductLicensepl ) : void
AutoLoad [
return void
		public void Insert([ARDataBind("pl", AutoLoad=AutoLoadBehavior.OnlyNested)] ProductLicense pl)
		{
			ErrorList errorList = (ErrorList) BoundInstanceErrors[pl];
			
			PropertyBag.Add("errorlist", errorList);
			
			if (errorList.Count == 0)
			{
				pl.Create();
				
				PropertyBag.Add("pl", pl);
			}
		}